more progress

[SVN r626]
This commit is contained in:
Jeremy Siek
2002-10-26 20:16:48 +00:00
parent 5fd440c1d0
commit 04dccc8ea8

View File

@@ -107,7 +107,7 @@ template <class Final
iterator_comparisons< iterator_comparisons<
downcastable<repository<Final, V, R, P, C, D> > > > downcastable<repository<Final, V, R, P, C, D> > > >
> >
struct iterator_adaptor : B, new_iterator_base struct iterator_adaptor : B
{ {
typedef V value_type; typedef V value_type;
typedef R reference; typedef R reference;
@@ -145,6 +145,8 @@ struct iterator_adaptor : B, new_iterator_base
this->downcast().base() += n; this->downcast().base() += n;
} }
reference dereference() const { return *this->downcast().base(); }
void increment() { ++this->downcast().base(); } void increment() { ++this->downcast().base(); }
void decrement() { --this->downcast().base(); } void decrement() { --this->downcast().base(); }