14 template<
class T,
bool Copyable = false>
19 using ImplPtr = std::unique_ptr<Impl>;
23 template <
class ...Args>
55 using ImplPtr = std::unique_ptr<Impl>;
59 template <
class ...Args>
PimplPtr(Args &&... args)
Constructs an PImpl instance using the supplied arguments.
PimplPtr & operator=(const PimplPtr &arg)=delete
Assignment operator.
Root namespace for the PLCnext API
Impl * operator->(void)
Gets the pointer to the Impl instance for none const objects.
~PimplPtr(void)
Destructs this instance and frees all resources.
Impl & operator*(void)
Gets the reference to the Impl instance for none const objects.
Small wrapper class to ensure const correctness using PImpl pattern.
Definition: PimplPtr.hxx:15