8 Apr
2024
8 Apr
'24
10:29 p.m.
[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. STL