Boost logo

Boost :

From: witt_ive (witt_at_[hidden])
Date: 2002-01-31 17:47:42

The default_iterator_policies member often take the iterator_adaptor
argument by const reference. Doesn't this introduce uneccessary

As in:

template <class IteratorAdaptor>
typename IteratorAdaptor::reference dereference(const
IteratorAdaptor& x) const
        { return *x.base(); }

Would mean get a copy of base (base() const is used) and dereference


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