http://llvm.org/bugs/show_bug.cgi?id=17123
Bug ID: 17123
Summary: Error in <type_traits> is_trivially_copyable
Product: libc++
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
According to [basic.types]/9 of the Working Paper:
"Scalar types, trivially copyable class types (Clause 9), arrays of such types,
and non-volatile const-qualified versions of these types (3.9.3) are
collectively called trivially copyable types."
(1) The clang compiler intrinsic __is_trivially_copyable(T) should answer false
for volatile-qualified types.
(2) The libc++ test suite should catch (1) but is failing to do so.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs