[Bug c++/59426] __has_trivial_{copy/assign} behavior differs from documentation
richard-gccbugzilla at metafoo dot co.uk
gcc-bugzilla@gcc.gnu.org
Mon Dec 9 21:05:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59426
Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard-gccbugzilla@metafoo
| |.co.uk
--- Comment #2 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
Which C++11 semantics? Is __has_trivial_copy(T) intended to determine:
1) if T has a trivial copy constructor, or
2) whether T has a trivial copy constructor and no non-trivial copy
constructor, or
3) whether the constructor selected to perform a copy from a 'const T' lvalue
would be trivial, or
4) the value of std::is_trivially_copyable<T>::value?
More information about the Gcc-bugs
mailing list