![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
Similar to std::unique_ptr, but: More...
#include <OgreRawPtr.h>
Public Member Functions | |
| RawSimdUniquePtr () | |
| RawSimdUniquePtr (const RawSimdUniquePtr ©) | |
| RawSimdUniquePtr (size_t numElements) | |
| ~RawSimdUniquePtr () | |
| T *RESTRICT_ALIAS_RETURN | get () |
| const T *RESTRICT_ALIAS_RETURN | get () const |
| void | operator= (const RawSimdUniquePtr ©) |
| size_t | size () const |
| void | swap (RawSimdUniquePtr ©) |
Similar to std::unique_ptr, but:
The purpose of this container is to enclose a raw pointer while avoiding breaking the rule of 3 when copying. When defining the macro "OGRE_RAW_PTR_PROFILE", this container will raise an exception if the copy constructor or the assignment operator are used.
|
inline |
|
inline |
|
inline |
|
inline |
References OGRE_FREE_SIMD.
|
inline |
Referenced by Ogre::SkeletonDef::getBindPose().
|
inline |
|
inline |
References Ogre::Exception::ERR_INVALID_STATE, OGRE_EXCEPT, OGRE_FREE_SIMD, OGRE_MALLOC_SIMD, and RESTRICT_ALIAS.
|
inline |
|
inline |
References std::swap().