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

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 29 07:30:41 PDT 2025


================
@@ -292,6 +294,10 @@ public:
   basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
 
   basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
+  template <class _Tp = char_type, __enable_if_t<is_same<_Tp, char_type>::value, int> = 0>
----------------
H-G-Hristov wrote:

Thank you for noticing that.

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


More information about the libcxx-commits mailing list