MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / mapping

Function mapping

example/cacheHierarchy/fkYAML/node.hpp:12193–12197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12191
12192 template <typename... Args>
12193 static void mapping(BasicNodeType& n, Args&&... args) {
12194 destroy(n);
12195 n.m_attrs |= node_attr_bits::map_bit;
12196 n.m_value.p_map = create_object<typename BasicNodeType::mapping_type>(std::forward<Args>(args)...);
12197 }
12198
12199 static void null_scalar(BasicNodeType& n, std::nullptr_t) {
12200 destroy(n);

Callers 5

node.hppFile · 0.85
deserialize_nodeFunction · 0.85
add_new_keyFunction · 0.85
deserialize_scalarFunction · 0.85
to_nodeFunction · 0.85

Calls 1

destroyFunction · 0.85

Tested by

no test coverage detected