|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-03-09 15:05:18
"Eric Niebler" <eric_at_[hidden]> writes:
<snip>
> template<typename T>
> inline BOOST_DEDUCED_TYPENAME range_result_iterator<T>::type adl_begin(T &t)
> {
> #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
> return boost::begin(t);
> #else
> using boost::begin;
> typedef BOOST_DEDUCED_TYPENAME range_result_iterator<T>::type type;
> return type(begin(t));
> #endif
> }
>
> template<typename T>
> inline BOOST_DEDUCED_TYPENAME range_result_iterator<T>::type adl_end(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...?
-- Dave Abrahams 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