MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / operator-

Method operator-

src/prevector.h:117–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 const_iterator operator++(int) { const_iterator copy(*this); ++(*this); return copy; }
116 const_iterator operator--(int) { const_iterator copy(*this); --(*this); return copy; }
117 difference_type friend operator-(const_iterator a, const_iterator b) { return (&(*a) - &(*b)); }
118 const_iterator operator+(size_type n) { return const_iterator(ptr + n); }
119 const_iterator& operator+=(size_type n) { ptr += n; return *this; }
120 const_iterator operator-(size_type n) { return const_iterator(ptr - n); }

Callers

nothing calls this directly

Calls 1

const_iteratorClass · 0.85

Tested by

no test coverage detected