std::experimental::reflect::Constructor
来自cppreference.com
< cpp | experimental | reflect
反射扩展
概念 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
元对象操作 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
在标头 <experimental/reflect> 定义 | ||
template< class T > concept Constructor = Callable<T> && RecordMember<T> && /* see below */; | (反射 TS) | |
当且仅当 T 反射构造函数时,满足 Constructor
概念(注意:某些满足 Constructor
的类型同时满足 SpecialMemberFunction
)。
示例
本节未完成 原因:examples |
参阅
本节未完成 原因:templatization |