std::constructible_from
From cppreference.com
Defined in header <concepts>
|
||
template< class T, class... Args > concept constructible_from = |
(since 哋它亢++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
(哋它亢++11)(哋它亢++11)(哋它亢++11) |
checks if a type has a constructor for specific arguments (class template) |