[PATCH] libstdc++: Implement P3223R2 Making std::istream::ignore less surprising

Stephan Bergmann sberg.fun@gmail.com
Mon Nov 24 09:48:35 GMT 2025


On 11/21/25 16:43, Jonathan Wakely wrote:
> This has been pushed now - thanks for the patch

I see this failing with

> $ cat test.cc
> #include <iostream>
> int main() { std::cin.ignore(std::streamsize(1), ' '); }

> $ g++ -std=c++26 test.cc
> /usr/bin/ld: /tmp/ccBNZTP3.o: in function `main':
> test.cc:(.text+0x14): undefined reference to `_ZNSi6ignoreElcQ7same_asIT_cE'
> collect2: error: ld returned 1 exit status



More information about the Libstdc++ mailing list