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

Method reset

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

Source from the content-addressed store, hash-verified

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:
49 static

Callers 2

set_typeMethod · 0.45
AnyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected