---
name: "std::_Vector_base"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::_Vector_base/3cxx"
---

# std::\_Vector\_base(3cxx)

See bits/stl\_deque.h's \_Deque\_base for an explanation.

## NAME

std::\_Vector\_base\< \_Tp, \_Alloc \> - See bits/stl\_deque.h's \_Deque\_base for an explanation.

## SYNOPSIS

`#include <vector>`

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\< \_\_diff\_type \>**` [protected]`, **std::vector\< double \>**` [protected]`, **std::vector\< \_Cmpt \>**` [protected]`, **std::vector\< \_RealType \>**` [protected]`, **std::vector\< \_BigBlock \>**` [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

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.

## Author

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