Classes |
| class | fast_mutex |
| | Class for non-reentrant fast mutexes. More...
|
| class | fast_mutex_autolock |
| | An acquistion-on-initialization lock class based on fast_mutex. More...
|
| class | class_level_lock |
| | Helper class for class-level locking. More...
|
| class | class_level_lock< _Host, false > |
| | Partial specialization that makes null locking. More...
|
| class | object_level_lock |
| | Helper class for object-level locking. More...
|
| class | debug_new_recorder |
| | Recorder class to remember the call context. More...
|
| class | debug_new_counter |
| | Counter class for on-exit leakage check. More...
|
| struct | new_ptr_list_t |
| | Structure to store the position information where new occurs. More...
|
| class | mem_pool_base |
| | Base class for memory pools. More...
|
| class | static_mem_pool_set |
| | Singleton class to maintain a set of existing instantiations of static_mem_pool. More...
|
| class | static_mem_pool |
| | Singleton class template to manage the allocation/deallocation of memory blocks of one specific size. More...
|
| class | fixed_mem_pool |
| | Class template to manipulate a fixed-size memory pool. More...
|
| struct | dereference |
| | Functor to return objects pointed by a container of pointers. More...
|
| struct | dereference_less |
| | Functor to compare objects pointed by a container of pointers. More...
|
| struct | delete_object |
| | Functor to delete objects pointed by a container of pointers. More...
|
| struct | output_object |
| | Functor to output objects pointed by a container of pointers. More...
|
| class | bool_array |
| | Class to represent a packed boolean array. More...
|
| class | fc_queue |
| | Class to represent a fixed-capacity queue. More...
|
Typedefs |
| typedef double | pctimer_t |
Functions |
| int | check_leaks () |
| | Checks for memory leaks.
|
| int | check_mem_corruption () |
| | Checks for heap corruption.
|
| template<class _Container , class _InputIter > |
| _Container & | set_assign_union (_Container &dest, _InputIter first, _InputIter last) |
| template<class _Container , class _InputIter , class _Compare > |
| _Container & | set_assign_union (_Container &dest, _InputIter first, _InputIter last, _Compare comp) |
| template<class _Container , class _InputIter > |
| _Container & | set_assign_difference (_Container &dest, _InputIter first, _InputIter last) |
| template<class _Container , class _InputIter , class _Compare > |
| _Container & | set_assign_difference (_Container &dest, _InputIter first, _InputIter last, _Compare comp) |
| pctimer_t | pctimer (void) |
| void | swap (bool_array &lhs, bool_array &rhs) noexcept |
| | Exchanges the content of two bool_arrays.
|
| template<class _Tp , class _Alloc > |
| void | swap (fc_queue< _Tp, _Alloc > &lhs, fc_queue< _Tp, _Alloc > &rhs) |
| | Exchanges the elements of two queues.
|
Variables |
| bool | new_autocheck_flag = true |
| | Flag to control whether check_leaks will be automatically called on program exit.
|
| bool | new_verbose_flag = false |
| | Flag to control whether verbose messages are output.
|
| FILE * | new_output_fp = stderr |
| | Pointer to the output stream.
|
| const char * | new_progname = _DEBUG_NEW_PROGNAME |
| | Pointer to the program name.
|
| const size_t | PLATFORM_MEM_ALIGNMENT = sizeof(size_t) * 2 |
| | The platform memory alignment.
|