Is there an intention to implement in STL an option std::is_constructiblethat is suitable for determining whether a particular type is constructive of curly braces, filled with the specified parameter packages or not? I mean something like: std::is_curly_braces_constructible< T, Args... >::value trueif and only if it is T{std::declval< Args >()...}correctly formed.
I think that such a trait will be useful.
EDIT:
This question is not a duplicate of this question . Here I am asking about the standard template library , but not about implementing custom code.
source
share