---
name: "__gnu_cxx::__detail::__mini_vector"
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/__gnu_cxx::__detail::__mini_vector"
---

# \_\_gnu\_cxx::\_\_detail::\_\_mini\_vector(3)

\_\_mini\_vector\<\> is a stripped down version of the full-fledged std::vector\<\>.

## NAME

\_\_gnu\_cxx::\_\_detail::\_\_mini\_vector\< \_Tp \> - \_\_mini\_vector\<\> is a stripped down version of the full-fledged std::vector\<\>.

## SYNOPSIS

\#include \<bitmap\_allocator.h\>

### Public Types

typedef const \_Tp & **const\_reference**\
 typedef std::ptrdiff\_t **difference\_type**\
 typedef pointer **iterator**\
 typedef \_Tp \* **pointer**\
 typedef \_Tp & **reference**\
 typedef std::size\_t **size\_type**\
 typedef \_Tp **value\_type**\

### Public Member Functions

reference **back** () const  throw ()\
 iterator **begin** () const  throw ()\
 void **clear** ()  throw ()\
 iterator **end** () const  throw ()\
 void **erase** (iterator \_\_pos)  throw ()\
 void **insert** (iterator \_\_pos, const\_reference \_\_x)\
 reference **operator\[\]** (const size\_type \_\_pos) const  throw ()\
 void **pop\_back** ()  throw ()\
 void **push\_back** (const\_reference \_\_x)\
 size\_type **size** () const  throw ()\

## Detailed Description

### template\<typename \_Tp\>

class \_\_gnu\_cxx::\_\_detail::\_\_mini\_vector\< \_Tp \>"\_\_mini\_vector\<\> is a stripped down version of the full-fledged std::vector\<\>.

It is to be used only for built-in types or PODs. Notable differences are:

- 1\.

  Not all accessor functions are present.

- 2\.

  Used ONLY for PODs.

- 3\.

  No Allocator template argument. Uses operator new() to get memory, and operator delete() to free it. Caveat: The dtor does NOT free the memory allocated, so this a memory-leaking vector!

## Author

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