We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a4b5b commit 7eb7d12Copy full SHA for 7eb7d12
libcxx/include/istream
@@ -294,7 +294,7 @@ public:
294
basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
295
296
basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
297
- template <class _Tp = char_type, __enable_if_t<is_same<_Tp, char_type>::value, int> = 0>
+ template <class _Tp = char_type, __enable_if_t<is_same<_Tp, char>::value, int> = 0>
298
inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_istream& ignore(streamsize __n, char_type __delim) {
299
return ignore(__n, traits_type::to_int_type(__delim));
300
}
0 commit comments