Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-06-10 13:05:33

hartmutkaiser_at_[hidden] (Hartmut Kaiser) writes:

> Is there any way to tell, which version of the iterator library is
> installed on a target system? I could think of some pp constant, which
> allows to configure a piece of code to use the 'old' or the 'new'
> iterator lib. This would allow for a smooth transition of existing
> libraries depending on the iterator_lib and looses the otherwise tight
> coupling between some user code and a specific Boost version.

Cute idea. Unless you want to account for all the transitional
versions in CVS, you could always

#include <boost/version.hpp>


Dave Abrahams
Boost Consulting

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