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 <vector>

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


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

Public Attributes


_Vector_impl _M_impl

Protected Member Functions


constexpr 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 85 of file vector.

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 88 of file vector.

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

Definition at line 294 of file vector.

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

Definition at line 90 of file vector.

Constructor & Destructor Documentation

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

Definition at line 318 of file vector.

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

Definition at line 324 of file vector.

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

Definition at line 330 of file vector.

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

Definition at line 340 of file vector.

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

Definition at line 344 of file vector.

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

Definition at line 358 of file vector.

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

Definition at line 364 of file vector.

Member Function Documentation

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

Definition at line 375 of file vector.

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

Definition at line 393 of file vector.

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

Definition at line 383 of file vector.

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

Definition at line 303 of file vector.

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

Definition at line 298 of file vector.

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

Definition at line 308 of file vector.

Member Data Documentation

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

Definition at line 371 of file vector.

Author

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

Mon Aug 22 2022 libstdc++