MCPcopy Create free account
hub / github.com/boostorg/json / capacity

Method capacity

include/boost/json/detail/string_impl.hpp:198–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 }
197
198 std::size_t
199 capacity() const noexcept
200 {
201 return s_.k == kind::string ?
202 p_.t->capacity :
203 sbo_chars_;
204 }
205
206 void
207 size(std::size_t n)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected