forked from boostorg/range
vc6 fixes
[SVN r24116]
This commit is contained in:
@ -16,12 +16,24 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/range/end.hpp>
|
#include <boost/range/end.hpp>
|
||||||
|
#include <boost/range/reverse_result_iterator.hpp>
|
||||||
#include <boost/range/reverse_iterator.hpp>
|
#include <boost/range/reverse_iterator.hpp>
|
||||||
#include <boost/range/const_reverse_iterator.hpp>
|
#include <boost/range/const_reverse_iterator.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||||
|
|
||||||
|
template< class C >
|
||||||
|
inline BOOST_DEDUCED_TYPENAME reverse_result_iterator_of<C>::type
|
||||||
|
rbegin( C& c )
|
||||||
|
{
|
||||||
|
return BOOST_DEDUCED_TYPENAME reverse_result_iterator_of<C>::type( end( c ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
template< class C >
|
template< class C >
|
||||||
inline BOOST_DEDUCED_TYPENAME reverse_iterator_of<C>::type
|
inline BOOST_DEDUCED_TYPENAME reverse_iterator_of<C>::type
|
||||||
rbegin( C& c )
|
rbegin( C& c )
|
||||||
@ -36,6 +48,8 @@ rbegin( const C& c )
|
|||||||
return BOOST_DEDUCED_TYPENAME const_reverse_iterator_of<C>::type( end( c ) );
|
return BOOST_DEDUCED_TYPENAME const_reverse_iterator_of<C>::type( end( c ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,12 +16,24 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/range/begin.hpp>
|
#include <boost/range/begin.hpp>
|
||||||
|
#include <boost/range/reverse_result_iterator.hpp>
|
||||||
#include <boost/range/reverse_iterator.hpp>
|
#include <boost/range/reverse_iterator.hpp>
|
||||||
#include <boost/range/const_reverse_iterator.hpp>
|
#include <boost/range/const_reverse_iterator.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||||
|
|
||||||
|
template< class C >
|
||||||
|
inline BOOST_DEDUCED_TYPENAME reverse_result_iterator_of<C>::type
|
||||||
|
rend( C& c )
|
||||||
|
{
|
||||||
|
return BOOST_DEDUCED_TYPENAME reverse_result_iterator_of<C>::type( begin( c ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
template< class C >
|
template< class C >
|
||||||
inline BOOST_DEDUCED_TYPENAME reverse_iterator_of<C>::type
|
inline BOOST_DEDUCED_TYPENAME reverse_iterator_of<C>::type
|
||||||
rend( C& c )
|
rend( C& c )
|
||||||
@ -36,6 +48,8 @@ rend( const C& c )
|
|||||||
return BOOST_DEDUCED_TYPENAME const_reverse_iterator_of<C>::type( begin( c ) );
|
return BOOST_DEDUCED_TYPENAME const_reverse_iterator_of<C>::type( begin( c ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace 'boost'
|
} // namespace 'boost'
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user