Boost logo

Boost :

Subject: Re: [boost] [Polygon] What does this error mean?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-09-02 21:14:06


AMDG

Thomas Klimpel wrote:
> Thomas Klimpel wrote:
>
>> Fully qualifying the calls as I proposed is the correct solution for such ADL problems, IIRC.
>>
>
> Even if the above statement should be true, my proposed fix still had a potential ADL issue. I guess
>
> ::boost::polygon::set(lvalue, HORIZONTAL, get(rvalue, HORIZONTAL));
> ::boost::polygon::set(lvalue, VERTICAL, get(rvalue, VERTICAL));
>
> is the correct fix, but check with an ADL expert to be sure.
>

Any qualification suppresses ADL. You don't need full qualification.

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