Namespaces
Variants

std::meta::is_function_parameter

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

Returns true if r represents a function parameter. Otherwise returns false.

Parameters

r - a reflection value

Return value

true if r represents a function parameter; otherwise false.

Example

See also

checks if reflection represents an explicit object parameter
(function) [edit]
checks if reflected function parameter has a default argument
(function) [edit]
obtains the parameters of the reflected function
(function) [edit]