logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__gnu_cxx::debug_allocator.3cxx

Author

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

                                                    libstdc++         __gnu_cxx::debug_allocator<_Alloc>(3cxx)

Detailed Description

template<typename_Alloc>
       class __gnu_cxx::debug_allocator< _Alloc >"A meta-allocator with debugging bits.

       This is precisely the allocator defined in the C++03 Standard.

Name

       __gnu_cxx::debug_allocator< _Alloc > - A meta-allocator with debugging bits.

Synopsis

       #include <debug_allocator.h>

   PublicTypes
       typedef _Traits::const_pointer const_pointer
       typedef _Traits::const_reference const_reference
       typedef _Traits::difference_type difference_type
       typedef _Traits::pointerpointer
       typedef _Traits::reference reference
       typedef _Traits::size_type size_type
       typedef _Traits::value_type value_typePublicMemberFunctionsdebug_allocator (const _Alloc &__a)
       template<typename _Alloc2 > debug_allocator (const debug_allocator< _Alloc2 > &__a2, typename
           __convertible< _Alloc2 >::__type=0)
       pointerallocate (size_type __n)
       pointerallocate (size_type __n, const void *__hint)
       template<typename _Tp , typename... _Args> void construct (_Tp *__p, _Args &&... __args)
       void construct (pointer __p, const value_type &__val)
       void deallocate (pointer __p, size_type __n)
       template<typename _Tp > void destroy (_Tp *__p)
       size_type max_size () const  throw ()

   Friends
       template<typename _Alloc2 > bool operator== (const debug_allocator &__lhs, const debug_allocator< _Alloc2
           > &__rhs) noexcept

See Also