Namespaces
Variants

std::meta::is_base

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_base( std::meta::info r );
(since C++26)

Returns true if r represents a direct base class relationship. Otherwise returns false.

Parameters

r - a reflection value

Return value

true if r represents a direct base class relationship; otherwise false.

Example

See also

checks if reflection represents a class member
(function) [edit]
obtains the accessible direct members of the reflected class or namespace
(function) [edit]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.