命名空间
变体
操作

std::experimental::ranges::Constructible

来自 cppreference.cn
< cpp‎ | experimental‎ | ranges
 
 
实验性
技术规范
文件系统库 (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 图形
 
 
概念库
核心语言概念
                              
对象概念
                              
                              
比较概念
可调用概念
                                        
                              
URNG 概念
 
template< class T, class... Args >

concept bool Constructible =

    Destructible<T> && std::is_constructible<T, Args...>::value;
(ranges TS)

Constructible 概念指定类型 T 的变量可以使用给定的参数类型集合 Args... 进行初始化。

Constructible<T, Args...>std::is_constructible<T, Args...>::value 之间不需要存在任何 subsumption 关系。

[编辑] 参见

检查类型是否具有用于特定参数的构造函数
(类模板) [编辑]