[libcxx-commits] [libcxx] [libc++][syncbuf] Implements LWG3253. (PR #99778)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 30 10:58:22 PDT 2024
================
@@ -253,7 +255,10 @@ public:
// [syncstream.syncbuf.cons], construction and destruction
- _LIBCPP_HIDE_FROM_ABI explicit basic_syncbuf(streambuf_type* __obuf = nullptr)
+ _LIBCPP_HIDE_FROM_ABI basic_syncbuf()
+ : basic_syncbuf(nullptr) {}
----------------
mordante wrote:
I like the `return {}` test better, so went that direction for the test.
https://github.com/llvm/llvm-project/pull/99778
More information about the libcxx-commits
mailing list