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

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

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\< \_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.
