Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-06-22 16:31:46


Janusz Piwowarski wrote:

[snip previous original & replies]

> I found source of this problem - latest changes in
> boost/function/function_base.hpp. Compiler try to instatiate template from
> line 533:
>
> template<typename Functor>
> BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL(Functor, bool)
> operator==(const function_base& f, Functor g)
> {
> if (const Functor* fp = f.template target<Functor>())
> return function_equal(*fp, g);
> else return false;
> }
>
> Is this intentional?

I'm not the right person to answer this, but...

> With named enum library compiles successful.

I'll gladly change the enum definition to be named.

Mike


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