Boost logo

Boost :

From: roland_at_[hidden]
Date: 2001-08-23 23:25:10

Hi all,

is there a reason (I guess, so: which?) why iterator_adaptor
just provides const operator[], i.e.

  value_type operator[](difference_type n) const
        { return *(*this + n); }

but not the non-const version, something like

    reference operator[](difference_type n)
        { return *(*this + n); }


- Roland

PS: I just saw that in the documentation some functions of
    default_iterator_policies are still declared static,
    whereas in the actual code they aren't.

Boost list run by bdawes at, gregod at, cpdaniel at, john at