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

Function empty

example/cacheHierarchy/fkYAML/node.hpp:2371–2373  ·  view source on GitHub ↗

@brief Checks if the referenced character sequence is empty. @return true if empty, false otherwise.

Source from the content-addressed store, hash-verified

2369 /// @brief Checks if the referenced character sequence is empty.
2370 /// @return true if empty, false otherwise.
2371 bool empty() const noexcept {
2372 return m_len == 0;
2373 }
2374
2375 /// @brief Get the element at the given position.
2376 /// @param pos The position of the target element.

Callers 6

starts_withFunction · 0.85
ends_withFunction · 0.85
clearMethod · 0.85
beginMethod · 0.85
cbeginMethod · 0.85
clearMethod · 0.85

Calls 2

type_errorFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected