Namespaces
Variants

std::experimental::reflect:: Enumerator

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

当且仅当 T 反映枚举项时满足 Enumerator 概念(注意:对于无作用域枚举类型, Enumerator Scope 同样是其类型)。

示例

另请参阅