---
name: "std::_Vector_base"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::_Vector_base"
---

# std::\_Vector\_base(3)

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\< \_Tp, polymorphic\_allocator\< \_Tp \> \>** \[protected\], **std::vector\< sub\_match\< \_Bi\_iter \>, \_Alloc \>** \[protected\], **std::vector\< \_Node \*, \_Nodeptr\_Alloc \>** \[protected\], **std::vector\< Catalog\_info \* \>** \[protected\], **std::vector\< \_CharT \>** \[protected\], **std::vector\< \_StringT \>** \[protected\], **std::vector\< \_CharClassT \>** \[protected\], **std::vector\< size\_t \>** \[protected\], **std::vector\< time\_zone \>** \[protected\], **std::vector\< time\_zone\_link \>** \[protected\], **std::vector\< leap\_second \>** \[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\], **std::vector\< bool, \_Alloc \>** \[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.
