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

Method to_string

src/boost_json_gdb_printers.py:200–203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 return 'array'
199
200 def to_string(self):
201 capacity = int(self.val['t_'].dereference()['capacity'])
202 return 'array [size={0}, capacity={1}]'.format(
203 self.num_children(), capacity)
204
205 def num_children(self):
206 return int(self.val['t_'].dereference()['size'])

Callers

nothing calls this directly

Calls 1

num_childrenMethod · 0.95

Tested by

no test coverage detected