|
Boost Users : |
From: Eric Niebler (eric_at_[hidden])
Date: 2005-03-02 17:38:09
Jonathan Turkanis wrote:
> Arkadiy Vertleyb wrote:
>
>>In this particular case the Boost.Range needs to be fixed to avoid
>>unqualified calls, IMO.
>
>
> I believe Thorsten deliberately wanted to allow unqualified calls.
>
Yes, Boost.Range is designed that way. It is an extensible design -- you
can range-ify your own type by defining your own begin() and end() and
letting ADL find them. So it seems there is no simple work-around for
GCC's bizarre ADL rules in this case. We'll need to think of something else.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net