Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2005-03-09 15:48:06


David Abrahams wrote:
> "Eric Niebler" <eric_at_[hidden]> writes:
>
>>template<typename T>
>>inline BOOST_DEDUCED_TYPENAME range_result_iterator<T>::type adl_begin(T &t)
>
> Either you didn't see my recent argument on boost-users that ADL is
> too common an acronym to be used to disambiguate such ADL
> customization points, or you didn't buy it, or...?
>

... or this is not an ADL customization point. Calls to this function
are always qualified. Calls to "foreach::adl_begin(t)" are equivalent to
"using boost::begin; begin(t);" modulo some compiler work-arounds. It's
an implementation detail (so it really should be in a detail namespace
-- I'll fix that if I'm allowed to).

-- 
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