C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Adding piecewise_construct - constructor to std::tuple
From: Avi Kivity (avi_at_[hidden])
Date: 2020-11-22 05:57:21


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


STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups