Difference between revisions of "cpp/concepts/constructible from"
From cppreference.com
m (Added Spanish link) |
m (→See also) |
||
Line 14: | Line 14: | ||
{{dsc end }} | {{dsc end }} | ||
− | {{langlinks|es|ja|zh}} | + | {{langlinks|es|ja|ru|zh}} |
Revision as of 21:04, 29 November 2022
Defined in header <concepts>
|
||
template < class T, class... Args > concept constructible_from = |
(since C++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
(C++11)(C++11)(C++11) |
checks if a type has a constructor for specific arguments (class template) |