Public Member Functions |
Static Protected Member Functions |
Protected Attributes |
List of all members
Gambit::safe_ptr< TYPE > Class Template Reference A safe pointer that throws an informative error if you try to dereference it when nullified, and cannot be used to overwrite the thing it points to. More...
Inheritance diagram for Gambit::safe_ptr< TYPE >:
![]()
Detailed Descriptiontemplate<typename TYPE>
|
|
inline |
Construct-o-safe_ptr.
Definition at line 181 of file util_types.hpp.
|
inlinestaticprotected |
Failure message invoked when the user tries to dereference a null safe_ptr.
Definition at line 213 of file util_types.hpp.
Referenced by Gambit::omp_safe_ptr< TYPE >::operator*().
|
inlinevirtual |
Dereference pointer.
Reimplemented in Gambit::omp_safe_ptr< TYPE >.
Definition at line 187 of file util_types.hpp.
|
inlinevirtual |
Access is allowed to const member functions only.
Definition at line 201 of file util_types.hpp.
|
inlinevirtual |
Dereference pointer as if it is an array.
Definition at line 194 of file util_types.hpp.
|
inlinevirtual |
Set pointer.
Definition at line 184 of file util_types.hpp.
|
protected |
The actual underlying pointer, interpreted as a pointer to constant value.
Definition at line 210 of file util_types.hpp.