Namespaces
Variants

std::experimental::reflect:: FunctionParameter

From cppreference.net
Extensions for reflection
Concepts
Meta-object operations
Variable
FunctionParameter
Callable
Variable and Callable
Namespace and Callable
ParenthesizedExpression
FunctionCallExpression
FunctionalConversion
Variable and Function
定义于头文件 <experimental/reflect>
template < class T >
concept FunctionParameter = Typed < T > && ScopeMember < T > && /* 见下文 */ ;
(反射 TS)

当且仅当 T 反映函数参数时, FunctionParameter 概念得到满足(注: FunctionParameter 不满足 Variable 概念,因此不提供获取参数指针的接口)。

示例

参见