[v3] more constexpr constructors for tuple, pair

Benjamin Kosnik bkoz@redhat.com
Wed Nov 24 16:42:00 GMT 2010


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

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20101124-0.pair-tuple.patch
Type: text/x-patch
Size: 19044 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20101124/860f8fd2/attachment.bin>


More information about the Libstdc++ mailing list