[libcxx-commits] [libcxx] [libc++][print] Adds ostream overloads. (PR #73262)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 12 09:44:11 PST 2023
================
@@ -286,7 +286,9 @@ class _LIBCPP_HIDDEN __stdoutbuf
__stdoutbuf(FILE* __fp, state_type* __st);
-protected:
+ [[nodiscard]] FILE* __file() { return __file_; }
----------------
ldionne wrote:
For this one I don't care whether we use a friend or not, since Hyrum's law is not a problem for private headers like this one.
https://github.com/llvm/llvm-project/pull/73262
More information about the libcxx-commits
mailing list