Go to the source code of this file.
Namespaces | |
namespace | gdt |
Defines | |
#define | COPY_INTO_PTR(T, x, p) (new((void*)(&p),0) T(x)) |
#define | PTR_ACCESS(T, p) ptr_access((T*)0, p) |
#define | PTR_DEFAULT_INIT(T, p) ptr_default_init((T*)0,p) |
#define | PTR_CONST_ACCESS(T, p) ptr_const_access((T*)0, p) |
#define | PTR_DELETE(T, p) ptr_delete((T*)0, p) |
Typedefs | |
typedef void * | gdt::Ptr |
Functions | |
void * | operator new (size_t, void *where, int) |
void | operator delete (void *, size_t) |
void | operator delete (void *, size_t, int) |
void | operator delete (void *, void *, int) |
template<class T> | |
Ptr | gdt::ptr_copy (T x) |
template<class T> | |
T & | gdt::ptr_access (T *, Ptr &p) |
template<class T> | |
void | gdt::ptr_default_init (T *, Ptr &p) |
template<class T> | |
const T & | gdt::ptr_const_access (T *, const Ptr &p) |
template<class T> | |
void | gdt::ptr_delete (T *, Ptr p) |
Definition in file ptr.h.
#define COPY_INTO_PTR | ( | T, | |||
x, | |||||
p | ) | (new((void*)(&p),0) T(x)) |
#define PTR_ACCESS | ( | T, | |||
p | ) | ptr_access((T*)0, p) |
Definition at line 40 of file ptr.h.
Referenced by gdt::gdtmap< Key, Value >::inf(), and gdt::gdtmap< Key, Value >::operator[]().
#define PTR_CONST_ACCESS | ( | T, | |||
p | ) | ptr_const_access((T*)0, p) |
Definition at line 60 of file ptr.h.
Referenced by gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::extract_max(), gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::get_max(), gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::inf(), gdt::gdtmap< Key, Value >::operator[](), gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::show_heap(), and gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::show_list().
#define PTR_DEFAULT_INIT | ( | T, | |||
p | ) | ptr_default_init((T*)0,p) |
#define PTR_DELETE | ( | T, | |||
p | ) | ptr_delete((T*)0, p) |
Definition at line 72 of file ptr.h.
Referenced by gdt::gdtmap< Key, Value >::delete_table(), and gdt::gdtmap< Key, Value >::undefine().