Wraps a boolean Pointer with one that inverts its value.
More...
Inherits G3D::ReferenceCountedObject.
|
template<class T , class ... ArgTypes> |
static shared_ptr< T > | createShared (ArgTypes &&... args) |
| Like std::make_shared, but works for protected constructors. More...
|
|
Wraps a boolean Pointer with one that inverts its value.
◆ createShared()
template<class T , class ... ArgTypes>
static shared_ptr<T> G3D::ReferenceCountedObject::createShared |
( |
ArgTypes &&... |
args | ) |
|
|
inlinestaticprotectedinherited |
Like std::make_shared, but works for protected constructors.
Call as createShared<myclass>.
◆ wrap()
static Pointer<bool> G3D::NotAdapter::wrap |
( |
const Pointer< bool > & |
ptr | ) |
|
|
inlinestatic |
◆ Pointer< bool >