Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Version definition macros

BOOST_VERSION_NUMBER
BOOST_VERSION_NUMBER(major,minor,patch)

Defines standard version numbers, with these properties:

BOOST_PREDEF_MAKE_.. macros

These set of macros decompose common vendor version number macros which are composed version, revision, and patch digits. The naming convention indicates:

Macros are:

BOOST_PREDEF_MAKE_0X_VRP(V)

BOOST_PREDEF_MAKE_0X_VVRP(V)

BOOST_PREDEF_MAKE_0X_VRPP(V)

BOOST_PREDEF_MAKE_0X_VVRR(V)

BOOST_PREDEF_MAKE_0X_VRRPPPP(V)

BOOST_PREDEF_MAKE_0X_VVRRP(V)

BOOST_PREDEF_MAKE_0X_VRRPP000(V)

BOOST_PREDEF_MAKE_10_VPPP(V)

BOOST_PREDEF_MAKE_10_VRP(V)

BOOST_PREDEF_MAKE_10_VRP000(V)

BOOST_PREDEF_MAKE_10_VRPP(V)

BOOST_PREDEF_MAKE_10_VRR(V)

BOOST_PREDEF_MAKE_10_VRRPP(V)

BOOST_PREDEF_MAKE_10_VRR000(V)

BOOST_PREDEF_MAKE_10_VV00(V)

BOOST_PREDEF_MAKE_10_VVRR(V)

BOOST_PREDEF_MAKE_10_VVRRPP(V)

BOOST_PREDEF_MAKE_10_VVRR0PP00(V)

BOOST_PREDEF_MAKE_10_VVRR0PPPP(V)

BOOST_PREDEF_MAKE_10_VVRR00PP00(V)

BOOST_PREDEF_MAKE_*.. date macros

Date decomposition macros return a date in the relative to the 1970 Epoch date. If the month is not available, January 1st is used as the month and day. If the day is not available, but the month is, the 1st of the month is used as the day.

BOOST_PREDEF_MAKE_DATE(Y,M,D)

BOOST_PREDEF_MAKE_YYYYMMDD(V)

BOOST_PREDEF_MAKE_YYYY(V)

BOOST_PREDEF_MAKE_YYYYMM(V)


PrevUpHomeNext