Namespaces
Variants

std::experimental::reflect:: Scope

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

当且仅当 T 反映一个命名空间(包括全局命名空间)、类、枚举、函数或闭包类型时, Scope 概念得到满足(注意:任何不反映全局命名空间的此类 T 同时满足 ScopeMember 概念)。

示例

另请参阅