std::experimental::reflect::Enumerator
来自cppreference.com
< cpp | experimental | reflect
反射扩展
概念 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
元对象操作 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
在标头 <experimental/reflect> 定义 | ||
template< class T > concept Enumerator = Typed<T> && ScopeMember<T> && /* 见下文 */; | (反射 TS) | |
当且仅当 T 反射枚举项时,满足 Enumerator
概念(注意:Enumerator
的 Scope
为其类型,对于无作用域枚举类型也是如此)。
示例
本节未完成 原因:examples |
参阅
本节未完成 原因:templatization |