
9 Mar
2005
9 Mar
'05
8:05 p.m.
"Eric Niebler" <eric@boost-consulting.com> 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