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

std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs > - An adaptor to recursively pass an allocator

Author

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

                                                    libststd::scoped_allocator_a...erAlloc,_InnerAllocs>(3cxx)

Detailed Description

template<typename_OuterAlloc,typename..._InnerAllocs>
       class std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs >"An adaptor to recursively pass an
       allocator to the objects it constructs.

Name

       std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs > - An adaptor to recursively pass an allocator
       to the objects it constructs.

Synopsis

       #include <scoped_allocator>

       Inherits _OuterAlloc.

   PublicTypestypedef __traits::const_pointer const_pointertypedef __traits::const_void_pointer const_void_pointertypedef __traits::difference_type difference_typetypedef __inner_type::__type inner_allocator_typetypedef __and_< typename__traits::is_always_equal, typenameallocator_traits< _InnerAllocs
           >::is_always_equal... >::type is_always_equaltypedef _OuterAlloc outer_allocator_typetypedef __traits::pointer pointertypedef __or_< typename__traits::propagate_on_container_copy_assignment, typenameallocator_traits<
           _InnerAllocs >::propagate_on_container_copy_assignment... >::type
           propagate_on_container_copy_assignmenttypedef __or_< typename__traits::propagate_on_container_move_assignment, typenameallocator_traits<
           _InnerAllocs >::propagate_on_container_move_assignment... >::type
           propagate_on_container_move_assignmenttypedef __or_< typename__traits::propagate_on_container_swap, typenameallocator_traits< _InnerAllocs
           >::propagate_on_container_swap... >::type propagate_on_container_swaptypedef __traits::size_type size_typetypedef __traits::value_type value_typetypedef __traits::void_pointer void_pointerPublicMemberFunctions
       template<typename_Outer2 , typename  = _Constructible<_Outer2>> scoped_allocator_adaptor (_Outer2
           &&__outer, const _InnerAllocs &... __inner) noexcept
       scoped_allocator_adaptor (const scoped_allocator_adaptor &__other) noexcept
       template<typename_Outer2 , typename  = _Constructible<const _Outer2&>> scoped_allocator_adaptor (const
           scoped_allocator_adaptor< _Outer2, _InnerAllocs... > &__other) noexcept
       scoped_allocator_adaptor (scoped_allocator_adaptor &&__other) noexcept
       template<typename_Outer2 , typename  = _Constructible<_Outer2>> scoped_allocator_adaptor
           (scoped_allocator_adaptor< _Outer2, _InnerAllocs... > &&__other) noexcept
       pointer allocate (size_type __n)
       pointer allocate (size_type __n, const_void_pointer __hint)
       template<typename _Tp , typename... _Args> voidconstruct (_Tp *__p, _Args &&... __args)
       voiddeallocate (pointer __p, size_type __n) noexcept
       template<typename _Tp > voiddestroy (_Tp *__p)
       const inner_allocator_type & inner_allocator () const noexcept
       inner_allocator_type & inner_allocator () noexcept
       size_type max_size () const
       scoped_allocator_adaptor & operator= (const scoped_allocator_adaptor &)=defaultscoped_allocator_adaptor & operator= (scoped_allocator_adaptor &&)=default
       const outer_allocator_type & outer_allocator () const noexcept
       outer_allocator_type & outer_allocator () noexcept
       scoped_allocator_adaptorselect_on_container_copy_construction () const

   Friends
       template<typename... > struct__inner_type_impl
       template<typename_OutA1 , typename_OutA2 , typename... _InA> bool operator== (const
           scoped_allocator_adaptor< _OutA1, _InA... > &__a, const scoped_allocator_adaptor< _OutA2, _InA... >
           &__b) noexcept

   RelatedSymbols
       (Note that these are not member symbols.)
       template<typename_OutA1 , typename_OutA2 , typename... _InA> bool operator== (const
           scoped_allocator_adaptor< _OutA1, _InA... > &__a, const scoped_allocator_adaptor< _OutA2, _InA... >
           &__b) noexcept

See Also