On 1/13/24 8:35 AM, Janek Kozicki via Boost wrote:
Robert Ramey via Boost said: (by the date of Tue, 9 Jan 2024 11:48:44 -0800)
This would in practice eliminate the concept of Boost version 1.84 etc... and replace with Boost Serialization library version 1, ... Boost would migrate from being a single/monolithic library to a group of libraries with some explicit dependencies (on other boost librarys, standard library or ?).
I have a following code snippet in my serialization header:
// To correctly recognize serialization of Inf and NaN numbers, // there are different includes for different boost versions #if BOOST_VERSION>=104700 #include
#else #include #endif How do you plan to not break it with separate version numbers for each library?
I would expect each library to be versioned individually. So the above would look something like:
// To correctly recognize serialization of Inf and NaN numbers, // there are different includes for different boost versions #include
#if BOOST_MATH_VERSION >= 12 (or ?) #include #else #include #endif
As an (off topic) aside, that the the serialization library has an archive version number embedded in every archive. It's incremented everytime the archive format is amended. In this way the most recent versions of the serialization library can read archives created in all previous versions of the library. I think this number is up to 20 now. Robert Ramey
best regards Janek
-- Janek Kozicki, PhD. DSc. Arch. Assoc. Prof. Gdansk University of Technology (Gdansk Tech) Faculty of Applied Physics and Mathematics Institute of Physics and Applied Computer Science Division of Theoretical Physics and Quantum Information -- http://yade-dem.org/ http://pg.edu.pl/p/jan-kozicki-19725 http://mostwiedzy.pl/en/jan-kozicki,19725-1
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost