---
name: "std::underlying_type"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::underlying_type"
---

# std::underlying\_type(3)

The underlying type of an enum.

## NAME

std::underlying\_type\< \_Tp \> - The underlying type of an enum.

## SYNOPSIS

\#include \<type\_traits\>

## Detailed Description

### template\<typename \_Tp\>

struct std::underlying\_type\< \_Tp \>"The underlying type of an enum.

## Author

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