Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2024-04-08 23:47:50


On 4/9/24 01:29, Stephan T. Lavavej wrote:
> [Andrey Semashev]
>> Re. standard versions, there are ways to support multiple standard
>> versions and still ship the compiled std module. For example:
>> 1. Ship everything in the same module std. This will make the module std
>> expose symbols defined by all C++ versions, but that should not be a
>> problem, as conforming user's code will use whatever matches his chosen
>> C++ version.
>> 2. Ship multiple compiled modules for different C++ versions. Pick one
>> during compilation. Will also need to do this to support debug and
>> release versions of the standard library.
>> Maybe there are other ways, those two are just what immediately came to
>> mind.
>
> I encourage you to explore these ideas for Boost and discover why they
> are not viable for production use.

Well, Boost has been doing #2 for years, at least on Windows. Not wrt.
C++ versions, but we do ship binaries for different compiler versions,
debug/release, etc.


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