---
name: "__gnu_cxx::array_allocator_base"
section: "3cxx"
platform: "linux"
package: "libstdc++-9-doc"
version: "9.3.0-22"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::array_allocator_base/3cxx"
---

# \_\_gnu\_cxx::array\_allocator\_base(3cxx)

Base class.

## NAME

\_\_gnu\_cxx::array\_allocator\_base\< \_Tp \> - Base class.

## SYNOPSIS

Inherited by **\_\_gnu\_cxx::array\_allocator\< \_Tp, \_Array \>**.

### Public Types

typedef const \_Tp \* **const\_pointer**\
 typedef const \_Tp & **const\_reference**\
 typedef ptrdiff\_t **difference\_type**\
 typedef \_Tp \* **pointer**\
 typedef \_Tp & **reference**\
 typedef size\_t **size\_type**\
 typedef \_Tp **value\_type**\

### Public Member Functions

const\_pointer **address** (const\_reference \_\_x) const noexcept\
 pointer **address** (reference \_\_x) const noexcept\
 template\<typename \_Up , typename... \_Args\> void **construct** (\_Up \*\_\_p, \_Args &&... \_\_args)\
 void **deallocate** (pointer, size\_type)\
 template\<typename \_Up \> void **destroy** (\_Up \*\_\_p)\
 size\_type **max\_size** () const noexcept\

## Detailed Description

### template\<typename \_Tp\>

class \_\_gnu\_cxx::array\_allocator\_base\< \_Tp \>" Base class.

Definition at line 54 of file array\_allocator.h.

## Author

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