Boost logo

Boost :

From: Edward Diener (eldiener_at_[hidden])
Date: 2021-03-23 14:57:59


On 3/23/2021 1:14 AM, Vinnie Falco via Boost wrote:
> Beast currently has its own port of ZLib to C++:
>
> <https://github.com/boostorg/beast/tree/develop/include/boost/beast/zlib>
>
> Is there any interest in having this proposed as its own separate
> Boost library (with a separate review, which has nothing to do with
> Beast)? The differences would be as follows:
>
> * Ported to use C++11 idioms
> * Same header-only / compiled source model as Boost.JSON
> * Better documentation and clear API
> * Improved tests
>
> Programs which use this C++ port of ZLib would get their zlib
> dependency from Boost instead of the official zlib distribution. And
> they can integrate it into their projects the same way that Boost
> libraries are integrated. Or they can include <boost/zlib/src.hpp> in
> any one translation unit (like JSON).
>
> The motivation for this is twofold:
>
> * Provide an easier way for users to access ZLib's functionality
> * To use this in some new libraries that I'm going to propose
>

The official zlib at https://github.com/madler/zlib has 109 issues, 156
PRs, one of which is mine, so yes a Boost version would be welcome to me.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk