[libcxx-commits] [libcxx] [libc++] Fix ungetc failing after xsgetn (PR #210951)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 24 05:21:16 PDT 2026


================
@@ -15,6 +15,21 @@
 #include <streambuf>
 
 _LIBCPP_BEGIN_NAMESPACE_STD
+_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
+
+template <class _CharT, class _Traits>
+bool basic_filebuf<_CharT, _Traits>::__read_mode() {
----------------
ldionne wrote:

Let's add a comment explaining why this is still provided even though it's unused.

https://github.com/llvm/llvm-project/pull/210951


More information about the libcxx-commits mailing list