iostreams
iostreams copied to clipboard
Boost.org iostreams module
In filter/zstd.hpp there is the following code `int error() const { return error_; }` I believe the function should return a size_t instead of an int, this causes a compiler...
This program completes successfully despite the fact that it failed to write any data: ``` #include #include #include int main() { std::ofstream s{"/dev/full"}; boost::iostreams::filtering_ostream filtering{}; filtering.push(boost::iostreams::gzip_compressor{}); filtering.push(s); filtering
boost/iostreams/filter/gzip.hpp, line 551: `BOOST_ASSERT(!"Bad state");` This line triggers a -Wstring-conversion warning: > boost/iostreams/filter/gzip.hpp:551:31: warning: implicit conversion turns string literal into bool: 'const char[10]' to 'bool' [-Wstring-conversion] Would it be possible...
We are working on updating the boost.org website, and when displaying the documentation of this boost library in that environment the display breaks due to the fact that ``s are...
As you probably know, `zstd` is famous for its fast (and stable) parallel compression capability. It would be great if `iostream` would teach the skill. I've got a WIP parallel...
Test program: ```c++ #include #include #include #include #include #include int main(int argc, char* argv[]) { // some numbers such that total buffer is larger than 2GB const std::streamoff s1(2000); const...
The zst filter does not have a documentation page similar to bzip2, gzip, or zlib at https://www.boost.org/doc/libs/1_70_0/libs/iostreams/doc/classes.
Fixes several deprecated-copy warnings by using the BOOST_DEFAULTED_FUNCTION() macro.