LiteFX::PimplPtr::operator=¶
Assignment operators
Synopses¶
Declared in <litefx/containers.hpp>
Initializes a new pointer to a copy of the implementation instance managed by src.
constexpr PimplPtr& operator=(PimplPtr const& src);
Initializes a new pointer by taking over the implementation instance managed by src.
constexpr PimplPtr& operator=(PimplPtr&& src) noexcept = default;
Return Value¶
A new pointer to the provided implementation instance.
Parameters¶
| Name | Description |
|---|---|
| src | The source pointer to copy the implementation instance from. |