Namespaces
Variants

std::meta::is_type

From cppreference.com
< cpp | meta
 
 
 
Reflection library
 
Reflection types and queries
Type properties
Type property queries
 
Defined in header <meta>
consteval bool is_type( std::meta::info r );
(since C++26)

Returns true if r represents an entity whose underlying entity is a type. Otherwise returns false.

Parameters

r - a reflection value

Return value

true if r represents a type; otherwise false.

Example

See also

checks if reflection represents a type alias
(function) [edit]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.