mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-12 05:51:37 +00:00
Move to new iterator adaptors
[SVN r19074]
This commit is contained in:
parent
04301ac6e9
commit
1d6f36e35d
@ -12,7 +12,7 @@
|
|||||||
#define BOOST_INTEGER_RANGE_HPP_
|
#define BOOST_INTEGER_RANGE_HPP_
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/counting_iterator.hpp>
|
#include <boost/iterator/counting_iterator.hpp>
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ namespace boost {
|
|||||||
|
|
||||||
template <class IntegerType>
|
template <class IntegerType>
|
||||||
struct integer_range {
|
struct integer_range {
|
||||||
typedef typename counting_iterator_generator<IntegerType>::type iterator;
|
typedef counting_iterator<IntegerType> iterator;
|
||||||
|
|
||||||
typedef iterator const_iterator;
|
typedef iterator const_iterator;
|
||||||
typedef IntegerType value_type;
|
typedef IntegerType value_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user