mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-29 20:37:17 +02:00
add nested typedefs
[SVN r23644]
This commit is contained in:
@ -614,7 +614,7 @@ template <
|
||||
, class Difference = ptrdiff_t
|
||||
>
|
||||
class iterator_facade {
|
||||
public:
|
||||
public:
|
||||
typedef remove_const<Value>::type value_type;
|
||||
typedef Reference reference;
|
||||
typedef Value* pointer;
|
||||
@ -631,6 +631,8 @@ public:
|
||||
Derived& operator+=(difference_type n);
|
||||
Derived& operator-=(difference_type n);
|
||||
Derived operator-(difference_type n) const;
|
||||
protected:
|
||||
typedef iterator_facade iterator_facade_;
|
||||
};
|
||||
|
||||
// Comparison operators
|
||||
@ -1202,6 +1204,7 @@ class iterator_adaptor
|
||||
explicit iterator_adaptor(Base iter);
|
||||
Base const& base() const;
|
||||
protected:
|
||||
typedef iterator_adaptor iterator_adaptor_;
|
||||
Base const& base_reference() const;
|
||||
Base& base_reference();
|
||||
private: // Core iterator interface for iterator_facade.
|
||||
|
Reference in New Issue
Block a user