[libcxx-commits] [libcxx] WIP [libc++][istream] P3223R2: Making `std::istream::ignore` less surprising (PR #147007)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 5 07:01:19 PDT 2025


================
@@ -291,6 +293,13 @@ public:
   basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
 
   basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
+#    if _LIBCPP_STD_VER >= 26
+  basic_istream& ignore(streamsize __n, char_type __delim)
----------------
Zingam wrote:

```suggestion
  inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_istream& ignore(streamsize __n, char_type __delim)
```

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


More information about the libcxx-commits mailing list