Namespaces
Variants

std::experimental::reflect:: ConversionOperator

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 ConversionOperator = Operator < T > && MemberFunction < T > && /* 见下文 */ ;
(reflection TS)

当且仅当 T 反映转换函数时,满足 ConversionOperator 概念。

示例

参见