[cfe-commits] [libcxx] r150893 - /libcxx/trunk/include/cstddef
Howard Hinnant
hhinnant at apple.com
Sat Feb 18 14:01:22 PST 2012
Author: hhinnant
Date: Sat Feb 18 16:01:22 2012
New Revision: 150893
URL: http://llvm.org/viewvc/llvm-project?rev=150893&view=rev
Log:
Give the emulated nullptr_t a default constructor.
Modified:
libcxx/trunk/include/cstddef
Modified: libcxx/trunk/include/cstddef
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cstddef?rev=150893&r1=150892&r2=150893&view=diff
==============================================================================
--- libcxx/trunk/include/cstddef (original)
+++ libcxx/trunk/include/cstddef Sat Feb 18 16:01:22 2012
@@ -62,6 +62,7 @@
struct __nat {int __for_bool_;};
+ _LIBCPP_ALWAYS_INLINE nullptr_t() {}
_LIBCPP_ALWAYS_INLINE nullptr_t(int __nat::*) {}
_LIBCPP_ALWAYS_INLINE operator int __nat::*() const {return 0;}
More information about the cfe-commits
mailing list