Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2006-08-01 15:45:08


AMDG

Daniel,

>> The only case I can think of that won't work is the unnumbered forms of
>> binary operators.
>
>

> Can you provide an example?

> Regards, Daniel

Sure.
    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>

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk