MCPcopy Create free account
hub / github.com/bitfieldaudio/OTTO / end

Method end

external/include/ringbuffer.hpp:743–753  ·  view source on GitHub ↗

returns an iterator the end of the buffer */

Source from the content-addressed store, hash-verified

741
742 /* returns an iterator the end of the buffer */
743 iterator end (void) noexcept
744 {
745 return iterator {
746 _tail.addressof (),
747 _head.addressof (),
748 _tail == _head ? _tail.addressof ()
749 : (_tail - 1).addressof (),
750 reinterpret_cast <pointer> (_first),
751 reinterpret_cast <pointer> (_last)
752 };
753 }
754
755 /* returns a const iterator the start of the buffer */
756 const_iterator begin (void) const noexcept

Callers 2

~ringbufferMethod · 0.95
clearMethod · 0.95

Calls 2

cendMethod · 0.95
addressofMethod · 0.80

Tested by

no test coverage detected