Namespaces
Variants
Views
Actions

std::default_constructible

From cppreference.com
< cpp‎ | concepts
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.

[edit] See also

specifies that a variable of the type can be constructed from or bound to a set of argument types
(concept) [edit]
checks if a type has a default constructor
(class template) [edit]