---
name: "std::is_enum"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::is_enum/3cxx"
---

# std::is\_enum(3cxx)

is\_enum

## NAME

std::is\_enum\< \_Tp \> - is\_enum

## SYNOPSIS

`#include <type_traits>`

Inherits **std::integral\_constant\< bool, \_\_is\_enum(\_Tp)\>**.

### Public Types

**typedef** **integral\_constant**\< bool, **\_\_v** \> **type**\
 **typedef** bool **value\_type**\

### Public Member Functions

constexpr **operator value\_type** () const noexcept\
 constexpr value\_type **operator()** () const noexcept\

### Static Public Attributes

**static** constexpr bool **value**\

## Detailed Description

### template\<typename \_Tp\>

struct std::is\_enum\< \_Tp \>"is\_enum

## Author

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