[Bug c++/36871] __has_nothrow_copy(T) false for T with a template ctor

2008-07-21 Thread paolo at gcc dot gnu dot org
--- Comment #3 from paolo at gcc dot gnu dot org 2008-07-21 16:19 --- Subject: Bug 36871 Author: paolo Date: Mon Jul 21 16:18:38 2008 New Revision: 138034 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138034 Log: /cp 2008-07-21 Paolo Carlini [EMAIL PROTECTED] PR

[Bug c++/36871] __has_nothrow_copy(T) false for T with a template ctor

2008-07-21 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-07-21 16:20 --- Fixed for 4.4.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/36871] __has_nothrow_copy(T) false for T with a template ctor

2008-07-18 Thread sebor at roguewave dot com
--- Comment #1 from sebor at roguewave dot com 2008-07-19 00:44 --- This also fails. Seems that the combination of a copy ctor and template ctor (even non-throwing) trips the compiler up. $ cat u.cpp g++ u.cpp -std=c++0x ./a.out #include cassert #include type_traits struct F {

[Bug c++/36871] __has_nothrow_copy(T) false for T with a template ctor

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-19 00:48 --- Yes, ok... -- paolo dot carlini at oracle dot com changed: What|Removed |Added