Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2005-11-29 19:28:18


MB wrote:
>
> If boost iterators are passed to 'std::equal' of VC++7.1,
> the 'std::equal' calls 'non-qualified' 'mismatch' and
> the unintentional ADLookup to 'namespace boost'
> finds incorrectly 'boost::mismatch' of range_ex.
>
...
>
> The workaround is something like:
>
> namespace boost_range_ex_unspecified {
> // many range algorithms here
> // ...
> }
>
> namespace boost {
> using namespace boost_range_ex_unspecified;
> }
>

Oops, you're right. Ahh, fun with ADL. Thanks for the report.

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

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