| Defined in header <experimental/ranges/concepts>
|
||
| template< class T, class... Args > concept bool Constructible = Destructible<T> && std::is_constructible<T, Args...>::value; |
(ranges TS) | |
The Constructible concept specifies that a variable of type T can be initialized with the given set of argument types Args....
There need not be any subsumption relationship between Constructible<T, Args...> and std::is_constructible<T, Args...>::value.
See also
| (C++11)(C++11)(C++11) |
checks if a type has a constructor for specific arguments (class template) |
Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.