std::constructible_from

Header: <concepts>

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

# Declarations

template< class T, class... Args >
concept constructible_from =
std::destructible<T> && std::is_constructible_v<T, Args...>;

(since C++20)

# See also