命名空间
变体
操作

std::experimental::reflect::LambdaCapture

来自 cppreference.cn
 
 
实验性
技术规范
文件系统库 (filesystem TS)
库基础 (library fundamentals TS)
库基础 2 (library fundamentals TS v2)
库基础 3 (library fundamentals TS v3)
并行性扩展 (parallelism TS)
并行性扩展 2 (parallelism TS v2)
并发性扩展 (concurrency TS)
并发性扩展 2 (concurrency TS v2)
概念 (concepts TS)
范围 (ranges TS)
反射 (reflection TS)
数学特殊函数 (special functions TR)
实验性非TS
模式匹配
线性代数
std::execution
契约
2D图形
 
反射扩展
概念
元对象操作
变量
函数参数
可调用的
VariableCallable
NamespaceCallable
带括号的表达式
函数调用表达式
FunctionalConversion
VariableFunction
 
定义于头文件 <experimental/reflect>
template< class T >
concept LambdaCapture = Variable<T> && /* see below */;
(reflection TS)

仅当 T 反射 Lambda 捕获时,LambdaCapture 概念才满足,Lambda 捕获由捕获列表或捕获默认值引入。(注意:LambdaCapture 的作用域是其直接封闭的 Lambda)。

[编辑] 示例

[编辑] 参见