std::meta::is_annotation - cppreference.com
Namespaces
Variants

std::meta::is_annotation

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

Returns true if r represents an annotation. Otherwise returns false.

Parameters

r - a reflection value

Return value

true if r represents an annotation; otherwise false.

Example

See also