Give the emulated nullptr_t a default constructor.

llvm-svn: 150893
This commit is contained in:
Howard Hinnant 2012-02-18 22:01:22 +00:00
parent e8a5ba89ec
commit 2a9a072485
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ struct _LIBCPP_VISIBLE nullptr_t
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;}