http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50371
Bug #: 50371 Summary: [C++0x] std::nullptr_t rejected as non-type template-parameter Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: daniel.krueg...@googlemail.com CC: ja...@redhat.com This is a placeholder entry to add support for std::nullptr_t as non-type template-parameter (14.1 p4). gcc 4.7.0 20110903 (experimental) in C++0x mode rejects the following code: template<decltype(nullptr)> struct nt; "error: 'std::nullptr_t' is not a valid type for a template constant parameter" The code should be accepted.