Maps an integer pointer to a power of two G3D::Pointer 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...
|
|
template<class T>
class G3D::PowerOfTwoAdapter< T >
Maps an integer pointer to a power of two G3D::Pointer value.
- See also
- NegativeAdapter
◆ create()
◆ 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>.
◆ Pointer< int >