Base Framework
|
Strict pointer. More...
#include <base/mem/StrictPointer.h>
Inherits NotCopyable.
Public Member Functions | |
StrictPointer (TYPE *_value) | |
bool | operator== (const StrictPointer &compare) const noexcept |
bool | operator!= (const StrictPointer &compare) const noexcept |
TYPE * | operator-> () noexcept |
const TYPE * | operator-> () const noexcept |
Strict pointer.
Automation pointer which cannot be copied and which is protected from direct access. The automation pointer may only be used with valid pointers (i.e. not nullptr).
|
inline |
Initializes the automation pointer.
value | The object pointer to be automated. |
|
inlinenoexcept |
Returns true if the pointers are non-equal.
|
inlinenoexcept |
Returns object for non-modifying access.
|
inlinenoexcept |
Returns object for modifying access.
|
inlinenoexcept |
Returns true if the pointers are equal.