std::default_constructible
From cppreference.com
Defined in header <concepts>
|
||
template < class T > concept default_constructible = std::constructible_from<T>; |
(since C++20) | |
The default_constructible
concept provides a shorthand for the common case when the question is whether a type can be constructed with no arguments.
See also
(C++20) |
specifies that a variable of the type can be constructed from or bound to a set of argument types (concept) |
checks if a type has a default constructor (class template) |