Namespaces
Variants

std::experimental::reflect:: LambdaCapture

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

当且仅当 T 反映通过捕获列表或捕获默认值引入的 lambda 捕获时,满足 LambdaCapture 概念。(注意: LambdaCapture Scope 是其直接外围的 Lambda )。

示例

参见