fixes for VC6-7.0

[SVN r28876]
This commit is contained in:
Jonathan Turkanis
2005-05-13 15:45:53 +00:00
parent c5d1b4a62a
commit d77dbb2d0b
7 changed files with 76 additions and 74 deletions

View File

@ -12,7 +12,7 @@
#define BOOST_RANGE_DETAIL_CONST_ITERATOR_HPP
#include <boost/range/detail/common.hpp>
#include <boost/type_traits/remove_bounds.hpp>
#include <boost/range/detail/remove_extent.hpp>
//////////////////////////////////////////////////////////////////////////////
// missing partial specialization workaround.
@ -31,7 +31,7 @@ namespace boost
template< typename C >
struct pts
{
typedef BOOST_DEDUCED_TYPENAME C::const_iterator type;
typedef BOOST_RANGE_DEDUCED_TYPENAME C::const_iterator type;
};
};
@ -41,7 +41,7 @@ namespace boost
template< typename P >
struct pts
{
typedef BOOST_DEDUCED_TYPENAME P::first_type type;
typedef BOOST_RANGE_DEDUCED_TYPENAME P::first_type type;
};
};
@ -53,7 +53,7 @@ namespace boost
struct pts
{
typedef const BOOST_RANGE_DEDUCED_TYPENAME
remove_bounds<T>::type* type;
remove_extent<T>::type* type;
};
};
@ -64,7 +64,7 @@ namespace boost
struct pts
{
typedef const BOOST_RANGE_DEDUCED_TYPENAME
remove_bounds<T>::type* type;
remove_extent<T>::type* type;
};
};