MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / NodeWrapper

Class NodeWrapper

tests/document_test.cpp:393–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391
392 static SimpleAllocator alloc_g;
393 struct NodeWrapper {
394 NodeWrapper() = default;
395 NodeWrapper(CNode&& node) : node(std::move(node)) {}
396 NodeWrapper(const NodeWrapper& rhs) : node(CNode(rhs.node, alloc_g)) {}
397 NodeWrapper(NodeWrapper&&) = default;
398 ~NodeWrapper() = default;
399 CNode node = {};
400 };
401
402 struct OnDemandParseTest {
403 std::string json_file;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected