
Thanks for the clarification: when switching from filtering_streambuf to filtering_stream it indeed compiles.
However, getline(in, line) then gives the *compressed* lines, despite the in.push(boost::iostreams::gzip_decompressor());
I don't understand why and how that is happening, any ideas?
Do you have a short, self-contained program that demonstrates the problem?
Thanks for asking! While constructing the short, self-contained program I realized that I have made a stupid mistake: in my email I wrote getline(in, line) but in my program I had getline(file, line), where "file" was the ifstream and "in" was the filtering_stream. So switching from filtering_streambuf to filtering_stream indeed does the job, thank you very much again for the hint! Holger