table of contents
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
- Leap-15.6
| std::constructible_from(3) | C++ Standard Libary | std::constructible_from(3) |
NAME¶
std::constructible_from - std::constructible_from
Synopsis¶
Defined in header <concepts> template< class T, class... Args >
concept constructible_from = (since C++20)
std::destructible<T> && std::is_constructible_v<T, Args...>;
The constructible_from concept specifies that a variable of type T can be initialized with the given set of argument types Args....
References¶
* C++23 standard (ISO/IEC 14882:2024):
* 18.4.11 Concept constructible_from [concept.constructible]
* C++20 standard (ISO/IEC 14882:2020):
* 18.4.11 Concept constructible_from [concept.constructible]
See also¶
is_constructible is_trivially_constructible is_nothrow_constructible checks if a type has a constructor for specific arguments (C++11) (class template) (C++11) (C++11)
| 2026.11.10 | http://cppreference.com |