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

Method data

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

Source from the content-addressed store, hash-verified

330 }
331
332 char*
333 data() noexcept
334 {
335 if(s_.k == short_string_)
336 return s_.buf;
337 return reinterpret_cast<
338 char*>(p_.t + 1);
339 }
340
341 char const*
342 data() const noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected