Boost logo

Boost :

Subject: Re: [boost] [Predef] Splitting a version number into components
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2014-06-04 10:37:37

On Tue, Jun 3, 2014 at 2:42 PM, Arindam Mukherjee <
arindam.mukerjee_at_[hidden]> wrote:

> Given some vendor version number, is there any macro in Predef to
> split it into major, minor and patch components?

Could you provide a more specific example of what you want to do? Do you
want to split the original/raw vender version number? Or a Predef
normalized version number? Why do you need the individual components?

> I noticed the macros BOOST_PREDEF_MAKE_* macros. What do these macros
> help achieve which BOOST_VERSION cannot?

Not sure what you mean by that question. the MAKE macros translate from
vendor specific version number(s) to a Predef normalized version number.

-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams -
-- rrivera/ (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost list run by bdawes at, gregod at, cpdaniel at, john at