Hi,
the definition of qpid::framing::Buffer::Iterator seems buggy to me.
This is not a bidirectional iterator. It's not even a forward iterator
because the iterator state is kept in the referenced buffer object. It
is not possible to use a pair of such iterators to form a range, so not
many algorithms can be used on them (at least not in a safe manner).
Consequently, I don't think this class is very useful. Perhaps it can
be removed together with the Buffer::getIterator() method?
Florian
--
Florian Weimer / Red Hat Product Security Team
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]