]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/buffer: add operator+=() for iterators
authorKefu Chai <kchai@redhat.com>
Fri, 31 Jan 2020 05:02:28 +0000 (13:02 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 1 Feb 2020 15:18:10 +0000 (23:18 +0800)
commit5ab82abbbbcaa762286ed0ab8e07e58c7613d4a0
tree95c1ecf7bccfa9571d13964f0c8de5058ff12800
parent4813b4132bf8f8b6809a68dcecb7ea72f4cfeea7
include/buffer: add operator+=() for iterators

less type than p.advance(). please note, this does not imply that
list::iterator is a RandomAccessIterator. as the parameter type of
p.adavance() is not `ptrdiff_t`, which is a signed type.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/buffer.h