---
name: "__gnu_cxx::__mt_alloc_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/__gnu_cxx::__mt_alloc_base"
---

# \_\_gnu\_cxx::\_\_mt\_alloc\_base(3)

Base class for \_Tp dependent member functions.

## NAME

\_\_gnu\_cxx::\_\_mt\_alloc\_base\< \_Tp \> - Base class for \_Tp dependent member functions.

## SYNOPSIS

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

Inherited by **\_\_gnu\_cxx::\_\_mt\_alloc\< \_Tp1, pol\_type \>**, and **\_\_gnu\_cxx::\_\_mt\_alloc\< \_Tp, \_Poolp \>**.

### Public Types

typedef const \_Tp \* **const\_pointer**\
 typedef const \_Tp & **const\_reference**\
 typedef std::ptrdiff\_t **difference\_type**\
 typedef \_Tp \* **pointer**\
 typedef **std::true\_type** **propagate\_on\_container\_move\_assignment**\
 typedef \_Tp & **reference**\
 typedef std::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)\
 template\<typename \_Up\> void **destroy** (\_Up \*\_\_p)\
 size\_type **max\_size** () const noexcept\

## Detailed Description

### template\<typename \_Tp\>

class \_\_gnu\_cxx::\_\_mt\_alloc\_base\< \_Tp \>"Base class for \_Tp dependent member functions.

## Author

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