名稱空間
變體
操作

std::experimental::ranges::Constructible

來自 cppreference.com
< cpp‎ | experimental‎ | ranges
 
 
實驗性
技術規範
檔案系統庫 (檔案系統 TS)
庫基礎 (庫基礎 TS)
庫基礎 2 (庫基礎 TS v2)
庫基礎 3 (庫基礎 TS v3)
並行性擴充套件 (並行性 TS)
並行性擴充套件 2 (並行性 TS v2)
併發性擴充套件 (併發性 TS)
併發擴充套件 2 (併發 TS v2)
概念 (概念 TS)
範圍 (範圍 TS)
反射 (反射 TS)
數學特殊函式 (特殊函式 TR)
實驗性非 TS
模式匹配
線性代數
std::execution
契約
2D 圖形
 
 
概念庫
核心語言概念
                              
物件概念
                              
                              
比較概念
可呼叫概念
                                        
                              
URNG 概念
 
定義於標頭檔案 <experimental/ranges/concepts>
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 之間不需要存在任何歸併關係。

[編輯] 參閱

檢查型別是否具有針對特定引數的建構函式
(類模板) [編輯]