Boost logo

Boost :

Subject: Re: [boost] [Range] begin/end ADL issues in C++0x range-based for
From: Michel MORIN (mimomorin_at_[hidden])
Date: 2011-01-04 03:31:10


> Compiler errors (ambiguous calls to begin/end) are generated,
> when ADL finds both std::begin/end and boost::begin/end in range-based for

Fixed in trunk (r67541) by Neil using the ADL barrier technique.
Now, the unqualified begin/end calls do not cause ambiguities between
boost::begin/end and std::begin/end. Thanks Neil!

Regards,
Michel


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