Intrusive message shared pointer. More...
Public Member Functions | |
message_shared_ptr (message_ptr &&m) | |
Constructs a new message_shared_ptr from m with reference count 1 . | |
message_shared_ptr (message_ptr &&m, const long ref_count) | |
Constructs a new message_shared_ptr from m with reference count ref_count . | |
message_shared_ptr (message *const m, const bool add_ref=true) | |
Constructs a new message_shared_ptr from m . More... | |
|
explicit |
Constructs a new message_shared_ptr from m
.
If add_ref
is true
, then the reference count is incremented.