std::is_trivial(3)

std::is_trivial3

Usage

#include <type_traits>

Detailed Description

template<typename _Tp>

struct std::is_trivial< _Tp >"is_trivial

Deprecated

Deprecated in C++26. Use a combination of one or more more specialized type traits instead, such as is_trivially_default_constructible, is_trivially_copy_constructible, is_trivially_copy_assignable, etc., depending on the exact check(s) needed.

Author

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

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.