Boost logo

Boost :

Subject: Re: [boost] [proto] Looong compile times and other issues
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-09-12 05:45:07


On 09/11/2011 07:18 PM, John Maddock wrote:

> * GCC-4.4.x fails to compile the code due to clashes between
> boost::math::complement (a function) and boost::proto::complement (a
> class). I suspect this is an old gcc bug (finding structures via ADL) -

Could you demonstrate the problem?

> I guess the solution is to not derive my number type from a proto-type
> so ADL can't find proto:: classes? Or will I hit this from some other
> unforeseen lookup?

The solution to ADL problems is usually to set up your namespaces
correctly or to qualify.

> * the code above gets instantiated from deep within Boost.Math's internals.

Why do you need to use Proto in the internals?


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