[v3] more constexpr constructors for tuple, pair

H.J. Lu hjl.tools@gmail.com
Wed Nov 24 19:48:00 GMT 2010


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.



More information about the Libstdc++ mailing list