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

# std::decay(3cxx)

decay

## NAME

std::decay\< \_Tp \> - decay

## SYNOPSIS

`#include <type_traits>`

### Public Types

**typedef** **\_\_decay\_selector**\< \_\_remove\_type \>::\_\_type **type**\

## Detailed Description

### template\<typename \_Tp\>

class std::decay\< \_Tp \>"decay

## Author

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