Boost logo

Boost :

From: Christophe Prud'homme (prudhomm_at_[hidden])
Date: 2005-10-20 15:50:43

| There's been some recent discussions related to version numbers from the
| proposal/summary I posted for normalizing version checking which is
| related:
I should have looked into my boost mailbox and post on the thread, sorry.

Good. I am all for this kind of proposal.

| It has a BOOST_VERSION_NUMBER macro like your BOOST_MAKE_VERSION macro.
| That type of macro can already be used with the BOOST_WORKAROUND
| utility. For example...
| > In order to test the current version of boost:
| > #if BOOST_IS_VERSION(1,33,0)
| > ... write the code according to the API >= 1.33.0
| > #else
| > ... write the code according to the API < 1.33.0
| > #endif
it is a bit wordy to just check for a version number, I think
I find BOOST_IS_VERSION above more concise

| ...
| #else
| ...
| #endif
| The discussions also mentioned changing BOOST_WORKAROUND to allow this:
Yup why not.

Thanks for bringing this up and sorry for not reading properly my boost emails


MIT Affiliate
Debian/GNU/Linux developer for scientific computing packages
fingerprint = 3703 50DE 7A9F 024E 0F26  0D07 A18F B40B D4BE 1450

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