4 #ifndef UTILMM_SMART_POINTER_HEADER
5 # define UTILMM_SMART_POINTER_HEADER
6 #include "utilmm/config/config.h"
36 : std::runtime_error(message) {}
51 template<
class Manager>
201 typename Manager::mem_cell pointee;
207 # define IN_UTILMM_SMART_POINTER_HEADER
208 #include "utilmm/smart/bits/pointer.tcc"
209 # undef IN_UTILMM_SMART_POINTER_HEADER
210 #endif // UTILMM_SMART_POINTER_HEADER
base_type * pointer_type
basic pointer type
Definition: pointer.hh:67
void reset(pointer_type ptr=0)
Checnging pointed value.
pointer(pointer_type ptr=0)
Constructor.
bool operator!=(pointer const &other) const
Difference test.
pointer_type operator->() const
Access operator.
pointer & operator=(pointer const &other)
Assignement operator.
reference_type operator*() const
dereference operator
bool operator!() const
Check if null.
bool operator==(pointer const &other) const
Equality test.
base_type & reference_type
Basic reference type.
Definition: pointer.hh:73
Generic smart pointer.
Definition: pointer.hh:52
bool null() const
Check if null.
void swap(pointer &other)
pointed cell exchange
null_access(std::string const &message)
Constructor.
Definition: pointer.hh:35
Manager::base_type base_type
Pointed type.
Definition: pointer.hh:61
Declararation of utilmm::singleton::use class.
Null pointer access exception.
Definition: pointer.hh:29