Showing content from https://timsong-cpp.github.io/cppwp/n4659/meta.unary.comp below:
[meta.unary.comp]
23 General utilities library [utilities] 23.15 Metaprogramming and type traits [meta] 23.15.4 Unary type traits [meta.unary] 23.15.4.2 Composite type traits [meta.unary.comp]
These templates provide convenient compositions of the primary type categories, corresponding to the descriptions given in section [basic.types].
For any given type T, the result of applying one of these templates to T and to cv T shall yield the same result.
Table
41
— Composite type category predicates
Template Condition Comments template <class T>
struct is_reference; T is an lvalue reference or an rvalue reference template <class T>
struct is_arithmetic; T is an arithmetic type template <class T>
struct is_fundamental; T is a fundamental type template <class T>
struct is_object; T is an object type template <class T>
struct is_scalar; T is a scalar type template <class T>
struct is_compound; T is a compound type template <class T>
struct is_member_pointer; T is a pointer to non-static data member or non-static member function
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4