DOKK / manpages / debian 12 / libstdc++-11-doc / __gnu_cxx::annotate_base.3cxx.en
__gnu_cxx::annotate_base(3cxx) __gnu_cxx::annotate_base(3cxx)

__gnu_cxx::annotate_base - Base class for checking address and label information about allocations. Create a std::map between the allocated address (void*) and a datum for annotations, which are a pair of numbers corresponding to label and allocated size.

#include <throw_allocator.h>

Inherited by __gnu_cxx::throw_allocator_base< _Tp, limit_condition >, __gnu_cxx::throw_allocator_base< _Tp, random_condition >, and __gnu_cxx::throw_allocator_base< _Tp, _Cond >.


void check (size_t label)
map_alloc_type::iterator check_allocated (void *p, size_t size)
void check_constructed (size_t label)
map_construct_type::iterator check_constructed (void *p)
void erase (void *p, size_t size)
void erase_construct (void *p)
void insert (void *p, size_t size)
void insert_construct (void *p)


static void check ()
static size_t get_label ()
static void set_label (size_t l)


std::ostream & operator<< (std::ostream &, const annotate_base &)

Base class for checking address and label information about allocations. Create a std::map between the allocated address (void*) and a datum for annotations, which are a pair of numbers corresponding to label and allocated size.

Definition at line 93 of file throw_allocator.h.

Definition at line 106 of file throw_allocator.h.

Definition at line 235 of file throw_allocator.h.

Definition at line 198 of file throw_allocator.h.

Definition at line 173 of file throw_allocator.h.

Definition at line 285 of file throw_allocator.h.

Definition at line 270 of file throw_allocator.h.

Definition at line 143 of file throw_allocator.h.

Definition at line 167 of file throw_allocator.h.

Definition at line 117 of file throw_allocator.h.

Definition at line 121 of file throw_allocator.h.

Definition at line 148 of file throw_allocator.h.

Definition at line 113 of file throw_allocator.h.

std::ostream & operator<< (std::ostream & os, const annotate_base & __b) [friend]

Definition at line 385 of file throw_allocator.h.

Generated automatically by Doxygen for libstdc++ from the source code.

Thu Feb 16 2023 libstdc++