C++ Logo


Advanced search

Re: Adding piecewise_construct - constructor to std::tuple

From: Avi Kivity <avi_at_[hidden]>
Date: Sun, 22 Nov 2020 13:57:21 +0200
I have missed of piecewise_construct for tuples in the past. I think it
would ease some template programming.

On 12/11/2020 10.42, Kilian Henneberger via Std-Proposals wrote:
> 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-22 05:57:26