August 2017
Intermediate to advanced
438 pages
14h 19m
English
The BOOST_VERSION macro contains the Boost version written in the following format: a single number for the major version, followed by three numbers for the minor version, and then two numbers for the patch level. For example, Boost 1.73.1 will contain the 107301 number in the BOOST_VERSION macro.
So, we check the Boost version in step 2 and choose the correct implementation of the to_int function according to the abilities of Boost.LexicalCast.
Read now
Unlock full access