MCPcopy Create free account
hub / github.com/IntegralPilot/wasm_os / capacity

Method capacity

stdlib/cpp/vector.hpp:107–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 size_type size() const noexcept { return size_; }
106 bool empty() const noexcept { return size_ == 0; }
107 size_type capacity() const noexcept { return capacity_; }
108
109 void shrink_to_fit() {
110 if (size_ < capacity_) {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected