std::Constructible (3) - Linux Man Pages

std::Constructible: std::Constructible

NAME

std::Constructible - std::Constructible

Synopsis


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


The Constructible 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 checks if a type has a constructor for specific arguments
                           (class template)
(C++11)
(C++11)
(C++11)