|
libcaf
0.16.3
|
Represents a message handler parameter of type T and guarantees copy-on-write semantics.
More...
#include <param.hpp>
Public Types | |
| enum | flag { shared_access, exclusive_access, private_access } |
Public Member Functions | |
| param (const void *ptr, bool is_shared) | |
| param (const param &other)=delete | |
| param & | operator= (const param &other)=delete |
| param (param &&other) | |
| const T & | get () const |
| operator const T & () const | |
| const T * | operator-> () const |
| T & | get_mutable () |
| Detaches the value if needed and returns a mutable reference to it. | |
| T && | move () |
Moves the value out of the param. | |
Represents a message handler parameter of type T and guarantees copy-on-write semantics.
1.8.16