MCPcopy Create free account
hub / github.com/ElementsProject/elements / capacity

Method capacity

src/prevector.h:300–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 const_reverse_iterator rend() const { return const_reverse_iterator(item_ptr(-1)); }
299
300 size_t capacity() const {
301 if (is_direct()) {
302 return N;
303 } else {
304 return _union.indirect_contents.capacity;
305 }
306 }
307
308 T& operator[](size_type pos) {
309 return *item_ptr(pos);

Callers 3

DynamicUsageFunction · 0.45
removeUncheckedMethod · 0.45
MaybeSendAddrMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected