[libcxx-commits] [libcxx] [libc++][istream] P3223R2: Making `std::istream::ignore` less surprising (PR #147007)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 1 10:44:50 PDT 2025
================
@@ -70,6 +70,7 @@ public:
basic_istream& getline(char_type* s, streamsize n, char_type delim);
basic_istream& ignore(streamsize n = 1, int_type delim = traits_type::eof());
+ basic_istream& ignore(streamsize n, char_type delim); // Since C++26
----------------
ldionne wrote:
```suggestion
basic_istream& ignore(streamsize n, char_type delim); // Since C++26, implemented as a DR
```
https://github.com/llvm/llvm-project/pull/147007
More information about the libcxx-commits
mailing list