[libcxx-commits] [PATCH] D127033: [libc++] Define ostream nullptr inserter for >= C++17 only

Jonathan Wakely via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 7 07:30:29 PDT 2022

jwakely added a comment.

In D127033#3563484 <https://reviews.llvm.org/D127033#3563484>, @ldionne wrote:

> Normally, we do apply LWG issues retroactively, so I wouldn't change this. @jwakely @STL_MSFT  Any insight as to why your respective standard libraries guarded this with C++17?

I don't remember, sorry. I'm not sure we actually ever discussed that aspect, we spent far more time discussing the content of the NTBS it prints.

Personally, I don't think this should really have been handled as a library issue. It's more of a new feature, like [Printing `volatile` Pointers](https://wg21.link/p1147r1). And since I'm not aware of anybody actually caring about this feature, I haven't spent much time thinking/caring about it.

If users were requesting it in C++11 and C++14 modes I'd consider enabling it, but I don't think anybody has asked for that.

  rG LLVM Github Monorepo



More information about the libcxx-commits mailing list