libstdc++
std::_Vector_base< _Tp, _Alloc > Struct Template Reference

#include <stl_vector.h>

Inheritance diagram for std::_Vector_base< _Tp, _Alloc >:
[legend]

Public Types

typedef __gnu_cxx::__alloc_traits< _Alloc >::template rebind< _Tp >::other _Tp_alloc_type
 
typedef _Alloc allocator_type
 
typedef __gnu_cxx::__alloc_traits< _Tp_alloc_type >::pointer pointer
 

Public Member Functions

 _Vector_base (_Tp_alloc_type &&__a) noexcept
 
 _Vector_base (_Vector_base &&__x) noexcept
 
 _Vector_base (_Vector_base &&__x, const allocator_type &__a)
 
 _Vector_base (const allocator_type &__a) noexcept
 
 _Vector_base (size_t __n)
 
 _Vector_base (size_t __n, const allocator_type &__a)
 
pointer _M_allocate (size_t __n)
 
void _M_deallocate (pointer __p, size_t __n)
 
const _Tp_alloc_type & _M_get_Tp_allocator () const noexcept
 
_Tp_alloc_type & _M_get_Tp_allocator () noexcept
 
allocator_type get_allocator () const noexcept
 

Public Attributes

_Vector_impl _M_impl
 

Detailed Description

template<typename _Tp, typename _Alloc>
struct std::_Vector_base< _Tp, _Alloc >

See bits/stl_deque.h's _Deque_base for an explanation.

Definition at line 81 of file stl_vector.h.

Member Typedef Documentation

◆ _Tp_alloc_type

template<typename _Tp , typename _Alloc >
typedef __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_Tp>::other std::_Vector_base< _Tp, _Alloc >::_Tp_alloc_type

Definition at line 84 of file stl_vector.h.

◆ allocator_type

template<typename _Tp , typename _Alloc >
typedef _Alloc std::_Vector_base< _Tp, _Alloc >::allocator_type

Definition at line 234 of file stl_vector.h.

◆ pointer

template<typename _Tp , typename _Alloc >
typedef __gnu_cxx::__alloc_traits<_Tp_alloc_type>::pointer std::_Vector_base< _Tp, _Alloc >::pointer

Definition at line 86 of file stl_vector.h.

Constructor & Destructor Documentation

◆ _Vector_base() [1/7]

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::_Vector_base ( )
inline

Definition at line 248 of file stl_vector.h.

◆ _Vector_base() [2/7]

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::_Vector_base ( const allocator_type &  __a)
inlinenoexcept

Definition at line 251 of file stl_vector.h.

◆ _Vector_base() [3/7]

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::_Vector_base ( size_t  __n)
inline

Definition at line 254 of file stl_vector.h.

◆ _Vector_base() [4/7]

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::_Vector_base ( size_t  __n,
const allocator_type &  __a 
)
inline

Definition at line 258 of file stl_vector.h.

◆ _Vector_base() [5/7]

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::_Vector_base ( _Tp_alloc_type &&  __a)
inlinenoexcept

Definition at line 263 of file stl_vector.h.

◆ _Vector_base() [6/7]

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::_Vector_base ( _Vector_base< _Tp, _Alloc > &&  __x)
inlinenoexcept

Definition at line 266 of file stl_vector.h.

◆ _Vector_base() [7/7]

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::_Vector_base ( _Vector_base< _Tp, _Alloc > &&  __x,
const allocator_type &  __a 
)
inline

Definition at line 270 of file stl_vector.h.

◆ ~_Vector_base()

template<typename _Tp , typename _Alloc >
std::_Vector_base< _Tp, _Alloc >::~_Vector_base ( )
inlinenoexcept

Definition at line 283 of file stl_vector.h.

Member Function Documentation

◆ _M_allocate()

template<typename _Tp , typename _Alloc >
pointer std::_Vector_base< _Tp, _Alloc >::_M_allocate ( size_t  __n)
inline

Definition at line 293 of file stl_vector.h.

◆ _M_deallocate()

template<typename _Tp , typename _Alloc >
void std::_Vector_base< _Tp, _Alloc >::_M_deallocate ( pointer  __p,
size_t  __n 
)
inline

Definition at line 300 of file stl_vector.h.

◆ _M_get_Tp_allocator() [1/2]

template<typename _Tp , typename _Alloc >
const _Tp_alloc_type & std::_Vector_base< _Tp, _Alloc >::_M_get_Tp_allocator ( ) const
inlinenoexcept

Definition at line 241 of file stl_vector.h.

◆ _M_get_Tp_allocator() [2/2]

template<typename _Tp , typename _Alloc >
_Tp_alloc_type & std::_Vector_base< _Tp, _Alloc >::_M_get_Tp_allocator ( )
inlinenoexcept

Definition at line 237 of file stl_vector.h.

◆ get_allocator()

template<typename _Tp , typename _Alloc >
allocator_type std::_Vector_base< _Tp, _Alloc >::get_allocator ( ) const
inlinenoexcept

Definition at line 245 of file stl_vector.h.

Member Data Documentation

◆ _M_impl

template<typename _Tp , typename _Alloc >
_Vector_impl std::_Vector_base< _Tp, _Alloc >::_M_impl

Definition at line 290 of file stl_vector.h.


The documentation for this struct was generated from the following file: