# std::constructible_from

From cppreference.com
< cpp‎ | concepts

Defined in header `<concepts>` |  |
template < class T, class... Args > concept constructible_from = std::destructible<T> && std::is_constructible_v<T, Args...>; |  | (since C++20)

The `constructible_from` concept specifies that a variable of type `T` can be initialized with the given set of argument types `Args...`.

### See also

is_constructible is_trivially_constructible is_nothrow_constructible (C++11)(C++11)(C++11) | checks if a type has a constructor for specific arguments (class template)

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/concepts/constructible_from&oldid=145294"