---
name: "std::_Enable_destructor"
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::_Enable_destructor"
---

# std::\_Enable\_destructor(3cxx)

A mixin helper to conditionally enable or disable the default destructor.

## NAME

std::\_Enable\_destructor\< \_Switch, \_Tag \> - A mixin helper to conditionally enable or disable the default destructor.

## SYNOPSIS

## Detailed Description

### template\<bool \_Switch, typename \_Tag = void\>

struct std::\_Enable\_destructor\< \_Switch, \_Tag \>" A mixin helper to conditionally enable or disable the default destructor.

**See also**

\_Enable\_special\_members

Definition at line 74 of file enable\_special\_members.h.

## Author

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