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

# std::unwrap\_ref\_decay(3cxx)

## NAME

std::unwrap\_ref\_decay\< \_Tp \>

## SYNOPSIS

`#include <type_traits>`

### Public Types

**using** **type** = unwrap\_reference\_t\< **decay\_t**\< \_Tp \> \>\

## Detailed Description

### template\<typename \_Tp\>

struct std::unwrap\_ref\_decay\< \_Tp \>"Decay type and if it's a reference\_wrapper, unwrap it

**Since**

C++20

## Author

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