[Bug c++/67160] New: static_assert feature test macro
Casey at Carter dot net
gcc-bugzilla@gcc.gnu.org
Sat Aug 8 22:29:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67160
Bug ID: 67160
Summary: static_assert feature test macro
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: Casey at Carter dot net
Target Milestone: ---
Created attachment 36150
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36150&action=edit
Patch
GCC trunk supports static_assert as defined in N3928 (http://wg21.link/n3928)
but defines the feature test macro __cpp_static_assert to the C++11 value
"200410." The appropriate value for N3928 static_assert is "201411" per N4440
(http://wg21.link/n4440#recs.cpp17). Attached patch updates the predefined
value to "201411".
More information about the Gcc-bugs
mailing list