---
name: "__gnu_pbds::detail::cond_dealtor"
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_pbds::detail::cond_dealtor/3cxx"
---

# \_\_gnu\_pbds::detail::cond\_dealtor(3cxx)

Conditional deallocate constructor argument.

## NAME

\_\_gnu\_pbds::detail::cond\_dealtor\< Entry, \_Alloc \> - Conditional deallocate constructor argument.

## SYNOPSIS

`#include <cond_key_dtor_entry_dealtor.hpp>`

### Public Types

typedef HT\_Map::entry **entry**\
 typedef HT\_Map::entry\_allocator **entry\_allocator**\
 typedef alloc\_traits::allocator\_type **entry\_allocator**\
 typedef alloc\_traits::pointer **entry\_pointer**\
 typedef HT\_Map::key\_type **key\_type**\

### Public Member Functions

**cond\_dealtor** (entry\_allocator \*p\_a, entry \*p\_e)\
 **cond\_dealtor** (entry\_pointer p\_e)\
 void **set\_key\_destruct** ()\
 void **set\_no\_action** ()\
 void **set\_no\_action\_destructor** ()\

### Protected Attributes

bool **m\_key\_destruct**\
 entry\_allocator \*const **m\_p\_a**\
 entry \*const **m\_p\_e**\

## Detailed Description

### template\<typename Entry, typename \_Alloc\>

class \_\_gnu\_pbds::detail::cond\_dealtor\< Entry, \_Alloc \>"Conditional deallocate constructor argument.

Conditional dey destructor, cc\_hash.

## Author

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