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

Method capacity

external/include/ringbuffer.hpp:711–714  ·  view source on GitHub ↗

* returns the number of elements that can be held in the current * storage */

Source from the content-addressed store, hash-verified

709 * storage
710 */
711 constexpr std::size_t capacity (void) const noexcept
712 {
713 return N;
714 }
715
716 /* set the overwrite policy for the buffer */
717 void set_overwrite_policy (enum overwrite_policy pol) noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected