MCPcopy Create free account
hub / github.com/acl-dev/acl / setString

Method setString

lib_acl_cpp/samples/benchmark/json/jtjson/json.cpp:542–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542void
543Json::setString(const char* value)
544{
545 clear();
546 type_ = String;
547 new (&string_value) std::string(value);
548}
549
550void
551Json::setString(std::string&& value)

Callers 1

parseMethod · 0.80

Calls 1

clearFunction · 0.50

Tested by

no test coverage detected