forked from boostorg/range
removed Borland workaround which broke iostreams on Borland
[SVN r29300]
This commit is contained in:
@ -54,23 +54,15 @@ namespace boost
|
|||||||
template< class ForwardRange >
|
template< class ForwardRange >
|
||||||
static IteratorT adl_begin( ForwardRange& r )
|
static IteratorT adl_begin( ForwardRange& r )
|
||||||
{
|
{
|
||||||
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
|
||||||
return begin( r );
|
|
||||||
#else
|
|
||||||
using boost::begin;
|
using boost::begin;
|
||||||
return IteratorT( begin( r ) );
|
return IteratorT( begin( r ) );
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template< class ForwardRange >
|
template< class ForwardRange >
|
||||||
static IteratorT adl_end( ForwardRange& r )
|
static IteratorT adl_end( ForwardRange& r )
|
||||||
{
|
{
|
||||||
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
|
||||||
return end( r );
|
|
||||||
#else
|
|
||||||
using boost::end;
|
using boost::end;
|
||||||
return IteratorT( end( r ) );
|
return IteratorT( end( r ) );
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user