命名空间
变体
操作

std::experimental::ranges::DefaultConstructible

来自 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图形
 
 
概念库
核心语言概念
                              
对象概念
DefaultConstructible
                              
                              
比较概念
可调用概念
                                        
                              
URNG 概念
 
template< class T >
concept bool DefaultConstructible = Constructible<T>;
(ranges TS)

DefaultConstructible 概念为常见情况提供了一种简写方式,即询问一个类型是否可以在不带参数的情况下构造。

[编辑] 参见

指定该类型的变量可以从一组参数类型构造或绑定到一组参数类型
(concept) [编辑]
检查类型是否具有默认构造函数
(class template) [编辑]