Classes | |
| class | ScopedPointer< ObjectType > |
| This class holds a pointer which is automatically deleted when this object goes out of scope. More... | |
Functions | |
| template<class ObjectType > | |
| bool | operator== (const ScopedPointer< ObjectType > &pointer1, ObjectType *const pointer2) noexcept |
| Compares a ScopedPointer with another pointer. | |
| template<class ObjectType > | |
| bool | operator!= (const ScopedPointer< ObjectType > &pointer1, ObjectType *const pointer2) noexcept |
| Compares a ScopedPointer with another pointer. | |
| bool operator== | ( | const ScopedPointer< ObjectType > & | pointer1, |
| ObjectType *const | pointer2 | ||
| ) |
Compares a ScopedPointer with another pointer.
This can be handy for checking whether this is a null pointer.
| bool operator!= | ( | const ScopedPointer< ObjectType > & | pointer1, |
| ObjectType *const | pointer2 | ||
| ) |
Compares a ScopedPointer with another pointer.
This can be handy for checking whether this is a null pointer.