LiteFX::PimplPtr::PimplPtr¶
Constructors
Synopses¶
Declared in <litefx/containers.hpp>
Initializes a new pointer to an implementation instance.
constexpr PimplPtr();
Initializes a new pointer to a copy of the implementation instance managed by src.
constexpr PimplPtr(PimplPtr const& src);
Initializes a new pointer by taking over the implementation instance managed by src.
constexpr PimplPtr(PimplPtr&& src) noexcept = default;
Initializes a new pointer of an implementation.
template<typename... TArgs>
constexpr PimplPtr(TArgs&&... args);
Template Parameters¶
| Name | Description |
|---|---|
| TArgs | The types of the arguments passed to the implementation constructor. |
Parameters¶
| Name | Description |
|---|---|
| src | The source pointer to copy the implementation instance from. |
| args | The arguments passed to the implementation constructor. |