This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: tuple move constructor
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 21 Apr 2016 11:40:53 +0100
- Subject: Re: tuple move constructor
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 02 dot 1604202233060 dot 21596 at laptop-mg dot saclay dot inria dot fr>
On 20 April 2016 at 21:42, Marc Glisse wrote:
> Hello,
>
> does anyone remember why the move constructor of _Tuple_impl is not
> defaulted? The attached patch does not cause any test to fail (whitespace
> kept to avoid line number changes). Maybe something about tuples of
> references?
I don't know/remember why. It's possible it was to workaround a
front-end bug that required it, or maybe just a mistake and it should
always have been defaulted.