std::constructible_from
De cppreference.com
| Definido en el archivo de encabezado <concepts>
|
||
template < class T, class... Args >
concept constructible_from =
std::destructible<T> && std::is_constructible_v<T, Args...>;
|
(desde C++20) | |
El concepto constructible_from (construible de/a partir de) especifica que una variable de tipo T puede inicializarse con el conjunto de tipos de argumento dado Args....
Referencias
- El estándar C++23 (ISO/IEC 14882:2023):
- 18.4.11 Concepto
constructible_from[concept.constructible]
- 18.4.11 Concepto
- El estándar C++20 (ISO/IEC 14882:2020):
- 18.4.11 Concepto
constructible_from[concept.constructible]
- 18.4.11 Concepto
