Skip to content

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);

» more...

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

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

» more...

Return Value

A new pointer to the provided implementation instance.

Parameters

NameDescription
srcThe source pointer to copy the implementation instance from.