Scroll to navigation

std::_Vector_base< _Tp, _Alloc >(3cxx) std::_Vector_base< _Tp, _Alloc >(3cxx)

NAME

std::_Vector_base< _Tp, _Alloc > - See bits/stl_deque.h's _Deque_base for an explanation.

SYNOPSIS

#include <stl_vector.h>

Inherited by std::vector< _State< _TraitsT::char_type > > [protected], std::vector< sub_match< _Bi_iter >, allocator< sub_match< _Bi_iter > > > [protected], std::vector< block_type, allocator_type > [protected], std::vector< _Node *, _Nodeptr_Alloc > [protected], std::vector< __gnu_parallel::_Piece< _DifferenceType > > [protected], std::vector< Catalog_info * > [protected], std::vector< _CharT > [protected], std::vector< _StringT > [protected], std::vector< std::pair< _StrTransT, _StrTransT > > [protected], std::vector< _CharClassT > [protected], std::vector< sub_match< _BiIter >, _Alloc > [protected], std::vector< std::pair< _BiIter, int > > [protected], std::vector< std::pair< _StateIdT, vector< sub_match< _BiIter >, _Alloc > > > [protected], std::vector< size_t > [protected], std::vector< double > [protected], std::vector< _Cmpt > [protected], std::vector< __diff_type > [protected], std::vector< _RealType > [protected], std::vector< int > [protected], std::vector< result_type > [protected], and std::vector< _Tp, _Alloc > [protected].

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 &&)=default
_Vector_base (_Vector_base &&__x, const allocator_type &__a)
_Vector_base (const allocator_type &__a) noexcept
_Vector_base (const allocator_type &__a, _Vector_base &&__x)
_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

Protected Member Functions


void _M_create_storage (size_t __n)

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

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.

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

Definition at line 270 of file stl_vector.h.

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

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

Definition at line 290 of file stl_vector.h.

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

Definition at line 295 of file stl_vector.h.

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

Definition at line 300 of file stl_vector.h.

template<typename _Tp , typename _Alloc > std::_Vector_base< _Tp, _Alloc >::_Vector_base (_Tp_alloc_type && __a) [inline], [noexcept]

Definition at line 309 of file stl_vector.h.

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 312 of file stl_vector.h.

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

Definition at line 325 of file stl_vector.h.

template<typename _Tp , typename _Alloc > std::_Vector_base< _Tp, _Alloc >::~_Vector_base () [inline], [noexcept]

Definition at line 330 of file stl_vector.h.

Member Function Documentation

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

Definition at line 340 of file stl_vector.h.

template<typename _Tp , typename _Alloc > void std::_Vector_base< _Tp, _Alloc >::_M_create_storage (size_t __n) [inline], [protected]

Definition at line 356 of file stl_vector.h.

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

Definition at line 347 of file stl_vector.h.

template<typename _Tp , typename _Alloc > const _Tp_alloc_type & std::_Vector_base< _Tp, _Alloc >::_M_get_Tp_allocator () const [inline], [noexcept]

Definition at line 277 of file stl_vector.h.

template<typename _Tp , typename _Alloc > _Tp_alloc_type & std::_Vector_base< _Tp, _Alloc >::_M_get_Tp_allocator () [inline], [noexcept]

Definition at line 273 of file stl_vector.h.

template<typename _Tp , typename _Alloc > allocator_type std::_Vector_base< _Tp, _Alloc >::get_allocator () const [inline], [noexcept]

Definition at line 281 of file stl_vector.h.

Member Data Documentation

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

Definition at line 337 of file stl_vector.h.

Author

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

libstdc++