http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46718
Summary: [c++0x] nullptr_t must be scalar
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: [email protected]
ReportedBy: [email protected]
$ cat test.cpp
#include <type_traits>
static_assert(std::is_scalar<std::nullptr_t>::value,"not scalar");
$ g++ -c -std=c++0x test.cpp
test.cpp:2:1: error: static assertion failed: "not scalar"
