This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] more constexpr constructors for tuple, pair
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 24 Nov 2010 11:48:16 -0800
- Subject: Re: [v3] more constexpr constructors for tuple, pair
- References: <20101124084218.568a0456@shotwell>
On Wed, Nov 24, 2010 at 8:42 AM, Benjamin Kosnik <bkoz@redhat.com> wrote:
>
> This adds in more markup for constexpr for tuple and pair. In addition,
> it adds post-3126 wording for defaulted copy constructors from N3140,
> but does not bring in the defaulted move constructors.
>
> I'm hoping that this is enough to hit the intent of DR 801, that tuple
> and pair for simple enough types can be passed in registers. For IA64
> C++ ABI, this has meant trivial destructors and copy constructors. In
> any case, I started tracking this requirement in the dr801.cc test
> cases.
>
> tested x86_64/linux
This may have caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46645
--
H.J.