MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / operator"" _yaml

Function operator"" _yaml

example/cacheHierarchy/fkYAML/node.hpp:14612–14614  ·  view source on GitHub ↗

@brief The user-defined string literal which deserializes a `char` array into a `node` object. @param s An input `char` array. @param n The size of `s`. @return The resulting `node` object deserialized from `s`. @sa https://fktn-k.github.io/fkYAML/api/operator_literal_yaml/

Source from the content-addressed store, hash-verified

14610/// @return The resulting `node` object deserialized from `s`.
14611/// @sa https://fktn-k.github.io/fkYAML/api/operator_literal_yaml/
14612inline fkyaml::node operator"" _yaml(const char* s, std::size_t n) {
14613 return fkyaml::node::deserialize(s, s + n);
14614}
14615
14616/// @brief The user-defined string literal which deserializes a `char16_t` array into a `node` object.
14617/// @param s An input `char16_t` array.

Callers

nothing calls this directly

Calls 1

deserializeFunction · 0.85

Tested by

no test coverage detected