Namespaces
Variants

std::experimental::reflect:: Variable

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 Variable = Typed < T > && /* 详见下文 */ ;
(反射 TS)

当且仅当 T 反映变量或数据成员时,满足 Variable 概念。

示例

参见