---
name: "std::is_literal_type"
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_literal_type/3cxx"
---

# std::is\_literal\_type(3cxx)

## NAME

std::is\_literal\_type\< \_Tp \>

## SYNOPSIS

`#include <type_traits>`

Inherits **std::integral\_constant\< bool, \_\_is\_literal\_type(\_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\_literal\_type\< \_Tp \>"is\_literal\_type

**Deprecated**

Deprecated in C++17, removed in C++20. The idea of a literal type isn't useful.

## Author

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