![]() |
Home | Libraries | People | FAQ | More |
Copy assignment.
storage_ptr& operator=( storage_ptr const& other);
This function assigns a pointer that points to the same memory resource
as other, with the same
ownership:
other is non-owning,
then *this
will be be non-owning.
other has shared
ownership, then *this
will acquire shared ownership.
If *this
previously had shared ownership, it is released before the function returns.
Constant.
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
The storage pointer to copy. |