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

Method size

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

Source from the content-addressed store, hash-verified

187 }
188
189 std::size_t
190 size() const noexcept
191 {
192 return s_.k == kind::string ?
193 p_.t->size :
194 sbo_chars_ -
195 s_.buf[sbo_chars_];
196 }
197
198 std::size_t
199 capacity() const noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected