MCPcopy Create free account
hub / github.com/apache/trafficserver / as

Method as

lib/yamlcpp/include/yaml-cpp/node/impl.h:153–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151// access functions
152template <typename T>
153inline T Node::as() const {
154 if (!m_isValid)
155 throw InvalidNode(m_invalidKey);
156 return as_if<T, void>(*this)();
157}
158
159template <typename T, typename S>
160inline T Node::as(const S& fallback) const {

Callers

nothing calls this directly

Calls 1

InvalidNodeFunction · 0.85

Tested by

no test coverage detected