[cfe-dev] __has_feature(cxx_nullptr)

Howard Hinnant hhinnant at apple.com
Wed Mar 9 06:07:05 PST 2011


Should __has_feature(cxx_nullptr) answer true when -std=c++0x?

typedef decltype(nullptr) nullptr_t;

Works.  But I haven't tested it out further.

Apple clang version 2.0 (trunk 125236) (based on LLVM 2.9svn)

Thanks,
Howard




More information about the cfe-dev mailing list