Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-12-18 01:14:16

Robert Ramey wrote

> One more thing:
> perhaps spirit config.hpp might define a macro
> #define SPIRIT_VERSION 16 or 18
> This might be helpful. If someone makes component that
> depends on one version and attempt to use another one could
> be trapped.

This is already the case from the early beginning of Spirit:

#define SPIRIT_VERSION 0x1602

#define SPIRIT_VERSION 0x1800

(defined in boost/spirit/version.hpp)

> Now that I think about it, that might be a worthy idea for
> other large and complex libraries such as mpl and perhaps others.

I agree completely. This is very important to from the very beginning of a
library to make later interface breaking changes easier to track.

Regards Hartmut

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