Zth (libzth)
|
Wrapper for a pointer, which checks validity of the pointer upon dereference. More...
#include <util.h>
Public Types | |
typedef safe_ptr | type |
typedef T | pointer_type |
Public Member Functions | |
constexpr | safe_ptr (pointer_type *p) noexcept |
constexpr | operator pointer_type * () const noexcept |
constexpr | operator bool () const noexcept |
constexpr pointer_type * | operator-> () const noexcept |
constexpr pointer_type & | operator* () const noexcept |
Protected Member Functions | |
constexpr pointer_type * | ptr () const noexcept |
Wrapper for a pointer, which checks validity of the pointer upon dereference.
typedef T zth::safe_ptr< T >::pointer_type |
typedef safe_ptr zth::safe_ptr< T >::type |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprprotectednoexcept |