commit | 2a9a072485302676e8db835b47314cbce8db8156 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Sat Feb 18 22:01:22 2012 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Sat Feb 18 22:01:22 2012 +0000 |
tree | 3aace1127acc670930fa7df9e3a597997e7c2d16 | |
parent | e8a5ba89ec3f81b2ccf2205065ec859bf8dd8160 [diff] [blame] |
Give the emulated nullptr_t a default constructor. llvm-svn: 150893
diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef index 48317ba..4a6b16e 100644 --- a/libcxx/include/cstddef +++ b/libcxx/include/cstddef
@@ -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;}