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

# std::is\_swappable(3cxx)

Metafunctions used for detecting swappable types: p0185r1.

## NAME

std::is\_swappable\< \_Tp \> - Metafunctions used for detecting swappable types: p0185r1.

## SYNOPSIS

`#include <type_traits>`

Inherits \_\_is\_swappable\_impl::type.

## Detailed Description

### template\<typename \_Tp\>

struct std::is\_swappable\< \_Tp \>"Metafunctions used for detecting swappable types: p0185r1.

is\_swappable

## Author

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