MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / used

Method used

include/chaiscript/dispatchkit/short_alloc.hpp:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44 static constexpr std::size_t size() noexcept {return N;}
45 std::size_t used() const noexcept {return static_cast<std::size_t>(ptr_ - buf_);}
46 void reset() noexcept {ptr_ = buf_;}
47
48private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected