namespace boost
{
- template< class T >
- inline BOOST_CXX14_CONSTEXPR BOOST_DEDUCED_TYPENAME range_difference<T>::type
- distance( const T& r )
+ namespace range_distance_adl_barrier
{
- return boost::distance( boost::begin( r ), boost::end( r ) );
+ template< class T >
+ inline BOOST_CXX14_CONSTEXPR BOOST_DEDUCED_TYPENAME range_difference<T>::type
+ distance( const T& r )
+ {
+ return boost::iterators::distance( boost::begin( r ), boost::end( r ) );
+ }
}
+ using namespace range_distance_adl_barrier;
+
} // namespace 'boost'
#endif