[v3] Implement is_nothrow_*_constructible, is_copy_constructible, is_move_constructible

Paolo Carlini paolo.carlini@oracle.com
Tue Apr 19 00:21:00 GMT 2011


Hi,

the below implements  a few traits - among which those necessary for 
move_if_noexcept, obviously forthcoming, at this point - per the FDIS 
and fixes is_nothrow_constructible vs the issue noticed at the end of 
the audit trail of 48531: Daniel clarified that, per the FDIS anyway 
(seems a core defect, actually) we need to special case 
is_nothrow_default_constructible and implement it separately from the 
general n-ary is_nothrow_constructible, similarly to 
is_default_constructible vs is_constructible.

Tested x86_64-linux, committed.

Paolo.

//////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_copy_move
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110419/4cddadf1/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_copy_move
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110419/4cddadf1/attachment-0001.ksh>


More information about the Libstdc++ mailing list