forked from boostorg/iterator
updated to match changes in the headers
[SVN r10260]
This commit is contained in:
@ -5,7 +5,7 @@ struct new_iterator
|
|||||||
: public boost::iterator<std::random_access_iterator_tag, int>,
|
: public boost::iterator<std::random_access_iterator_tag, int>,
|
||||||
public boost::new_iterator_base
|
public boost::new_iterator_base
|
||||||
{
|
{
|
||||||
typedef boost::random_access_iterator_tag traversal_category;
|
typedef boost::random_access_traversal_tag traversal_category;
|
||||||
typedef boost::mutable_lvalue_iterator_tag return_category;
|
typedef boost::mutable_lvalue_iterator_tag return_category;
|
||||||
|
|
||||||
int& operator*() const { return *m_x; }
|
int& operator*() const { return *m_x; }
|
||||||
@ -45,9 +45,6 @@ struct old_iterator
|
|||||||
};
|
};
|
||||||
old_iterator operator+(std::ptrdiff_t, old_iterator x) { return x; }
|
old_iterator operator+(std::ptrdiff_t, old_iterator x) { return x; }
|
||||||
|
|
||||||
struct bar { };
|
|
||||||
void foo(bar) { }
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user