MCPcopy Create free account
hub / github.com/bitfieldaudio/OTTO / operator--

Method operator--

external/include/ringbuffer.hpp:305–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303 }
304
305 iterator_impl operator-- (int)
306 {
307 auto const tmp {*this};
308
309 if (_iter == _lfirst) {
310 _iter = _llast;
311 } else {
312 _iter -= 1;
313 }
314
315 return tmp;
316 }
317
318 /*
319 * the parameter n is assumed to be valid; that is, such that

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected