C++ Logo

std-proposals

Advanced search

Adding piecewise_construct - constructor to std::tuple

From: Kilian Henneberger <kilis-mail_at_[hidden]>
Date: Thu, 12 Nov 2020 09:42:09 +0100
Hey, this topic was brought to my attention on cpplang-slack by Peter Dimov:
While std::pair has a constructor taking a piecewise_construct_t and two
tuples of arguments,
std::tuple does not have a constructor taking a piecewise_construct_t
and N tuples.
Do you think it is worth writing a proposal to add such a constructor?
Or are there already arguments against it?

Regards,
Kilian

Received on 2020-11-12 02:42:11