Namespaces
Variants

std::experimental::reflect:: ScopeMember

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

当且仅当 T 满足 RecordMember Enumerator Variable 要求,或者 T 反射一个非全局命名空间的命名空间时(注:无名联合体成员的所属作用域为该无名联合体;枚举项的所属作用域为其枚举类型),则满足 ScopeMember 概念。

示例

参见