---
name: "std::__detail::_Hashtable_alloc"
section: "3cxx"
platform: "linux"
package: "libstdc++-10-doc"
version: "10.2.1-6"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__detail::_Hashtable_alloc"
---

# std::\_\_detail::\_Hashtable\_alloc(3cxx)

## NAME

std::\_\_detail::\_Hashtable\_alloc\< \_NodeAlloc \>

## SYNOPSIS

Inherits **std::\_\_detail::\_Hashtable\_ebo\_helper\< 0, \_NodeAlloc \>**.

### Public Types

using **\_\_bucket\_alloc\_traits** = **std::allocator\_traits**\< \_\_bucket\_alloc\_type \>\
 using **\_\_bucket\_alloc\_type** = \_\_alloc\_rebind\< \_\_node\_alloc\_type, **\_\_bucket\_type** \>\
 using **\_\_bucket\_type** = **\_\_node\_base** \*\
 using **\_\_node\_alloc\_traits** = **\_\_gnu\_cxx::\_\_alloc\_traits**\< \_\_node\_alloc\_type \>\
 using **\_\_node\_alloc\_type** = \_NodeAlloc\
 using **\_\_node\_base** = **\_\_detail::\_Hash\_node\_base**\
 using **\_\_node\_type** = typename \_NodeAlloc::value\_type\
 using **\_\_value\_alloc\_traits** = typename \_\_node\_alloc\_traits::template rebind\_traits\< typename \_\_node\_type::value\_type \>\

### Public Member Functions

template\<typename \_Alloc \> **\_Hashtable\_alloc** (\_Alloc &&\_\_a)\
 **\_Hashtable\_alloc** (**\_Hashtable\_alloc** &&)=default\
 **\_Hashtable\_alloc** (const **\_Hashtable\_alloc** &)=default\
 **\_\_bucket\_type** \* **\_M\_allocate\_buckets** (std::size\_t \_\_bkt\_count)\
 template\<typename... \_Args\> \_\_node\_type \* **\_M\_allocate\_node** (\_Args &&... \_\_args)\
 template\<typename... \_Args\> auto **\_M\_allocate\_node** (\_Args &&... \_\_args) -\> \_\_node\_type \*\
 void **\_M\_deallocate\_buckets** (**\_\_bucket\_type** \*, std::size\_t \_\_bkt\_count)\
 void **\_M\_deallocate\_node** (\_\_node\_type \*\_\_n)\
 void **\_M\_deallocate\_node\_ptr** (\_\_node\_type \*\_\_n)\
 void **\_M\_deallocate\_nodes** (\_\_node\_type \*\_\_n)\
 \_\_node\_alloc\_type & **\_M\_node\_allocator** ()\
 const \_\_node\_alloc\_type & **\_M\_node\_allocator** () const\

## Detailed Description

### template\<typename \_NodeAlloc\>

struct std::\_\_detail::\_Hashtable\_alloc\< \_NodeAlloc \>" This type deals with all allocation and keeps an allocator instance through inheritance to benefit from EBO when possible.

Definition at line 1963 of file hashtable\_policy.h.

## Author

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