Boost logo

Boost :

From: Daniel Frey (d.frey_at_[hidden])
Date: 2006-08-02 02:54:10

Steven Watanabe wrote:
> template<class Base>
> struct X : boost::addable<X, Base> {
> ...
> };
> Boost.Operators does not recognize Base. Therefore,
> (as I understand the library) it will think I mean
> boost::addable2<X, Base> instead of boost::addable1<X, Base>

Sure, but this a known and solved problem. Just use addable1 directly,
as documented in the "Caveat" at

Regards, Daniel

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