MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / isEmpty

Method isEmpty

Libraries/Common/StringPath.h:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24 [[nodiscard]] auto view() const { return StringSpan({buffer, length}, true, StringEncoding::Native); }
25 [[nodiscard]] bool isEmpty() const { return length == 0; }
26 [[nodiscard]] auto writableSpan() { return Span<native_char_t>{buffer, N}; }
27 [[nodiscard]] bool operator==(StringSpan other) const { return view() == other; }
28

Callers 1

isEmptyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected