I have started to use the Boost predef library. I think it will be a good idea for this to be used within Boost. This is actually contained in the Future Work section of the Boost predef manual.
http://www.boost.org/doc/libs/1_55_0/libs/predef/doc/html/predef/introductio...
* And obviously there's lots of work to do in reformulating the existing Boost libraries to use the Predef library once it's accepted.
I have been attempting to make use of it and one of the problems is that BOOST_VERSION itself is not consistent with it. It would I think break a lot of existing code to change BOOST_VERSION. Instead I suggest having another define a longside it which is consistent with Boost predef.
I wnt to make the following suggestions to go into the definition of the version.
First check that the version of Boost is recent enough. 1.55.0 is the first to have Boost predef.
#include