Skip to content

LiteFX::PimplPtr::PimplPtr

Constructors

Synopses

Declared in <litefx/containers.hpp>

Initializes a new pointer to an implementation instance.

constexpr PimplPtr();

» more...

Initializes a new pointer to a copy of the implementation instance managed by src.

constexpr PimplPtr(PimplPtr const& src);

» more...

Initializes a new pointer by taking over the implementation instance managed by src.

constexpr PimplPtr(PimplPtr&& src) noexcept = default;

» more...

Initializes a new pointer of an implementation.

template<typename... TArgs>
constexpr PimplPtr(TArgs&&... args);

» more...

Template Parameters

NameDescription
TArgsThe types of the arguments passed to the implementation constructor.

Parameters

NameDescription
srcThe source pointer to copy the implementation instance from.
argsThe arguments passed to the implementation constructor.