Loading [MathJax]/extensions/tex2jax.js
Boost.Hana  1.0.1
Your standard library for metaprogramming
All Classes Namespaces Files Functions Variables Typedefs Friends Macros Modules Pages
version.hpp File Reference

Defines macros for tracking the version of the library. More...

Macros

#define BOOST_HANA_CONFIG_VERSION(version, revision, patch)   (((version) << 24) + ((revision) << 16) + (patch))
 
#define BOOST_HANA_MAJOR_VERSION   1
 Macro expanding to the major version of the library, i.e. the x in x.y.z.
 
#define BOOST_HANA_MINOR_VERSION   0
 Macro expanding to the minor version of the library, i.e. the y in x.y.z.
 
#define BOOST_HANA_PATCH_VERSION   1
 Macro expanding to the patch level of the library, i.e. the z in x.y.z.
 
#define BOOST_HANA_VERSION
 Macro expanding to the full version of the library, in hexadecimal representation. More...
 

Detailed Description

Defines macros for tracking the version of the library.

Macro Definition Documentation

#define BOOST_HANA_CONFIG_VERSION (   version,
  revision,
  patch 
)    (((version) << 24) + ((revision) << 16) + (patch))

Transforms a (version, revision, patchlevel) triple into a number of the form 0xVVRRPPPP to allow comparing versions in a normalized way.

See http://sourceforge.net/p/predef/wiki/VersionNormalization.