[PATCH] D33776: [libcxx] LWG2221: No formatted output operator for nullptr

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 03:13:32 PST 2017


lichray added inline comments.


================
Comment at: include/ostream:225
+    basic_ostream& operator<<(nullptr_t)
+    { return *this << (const void*)0; }
+
----------------
Oh, common, I persuaded the committee to allow you to print a `(null)`  and you don't do it...


https://reviews.llvm.org/D33776





More information about the cfe-commits mailing list