gz/utils/ImplPtr.hh
Go to the documentation of this file.
The ImplPtr class provides a convenient away to achieve the Rule of Zero while keeping all the benefi...
Definition: gz/utils/ImplPtr.hh:76
const T & operator*() const
Const dereference operator. This const-qualified operator ensures that logical const-correctness is f...
const T * operator->() const
Const member access operator. This const-qualified operator ensures that logical const-correctness is...
ImplPtr & operator=(const ImplPtr &_other)
Copy assignment operator.
T * Get()
Non-const member access function. This const-unqualified operator ensures that logical const-correctn...
const T * Get() const
Const member access function. This const-qualified operator ensures that logical const-correctness is...
ImplPtr(ImplPtr &&)=default
ImplPtr & operator=(ImplPtr &&)=default
T * operator->()
Non-const member access operator. This const-unqualified operator ensures that logical const-correctn...
T & operator*()
Non-const dereference operator. This const-unqualified operator ensures that logical const-correctnes...
ImplPtr< T > MakeImpl(Args &&..._args)
Pass this to the constructor of an ImplPtr object to easily initialize it. All the arguments passed i...
UniqueImplPtr< T > MakeUniqueImpl(Args &&..._args)
Pass this to the constructor of a UniqueImplPtr object to easily initialize it. All the arguments pas...
Definition: gz/utils/Environment.hh:27