MCPcopy Create free account
hub / github.com/alibaba/zvec / empty

Method empty

src/include/zvec/ailego/string/string_view.h:55–57  ·  view source on GitHub ↗

Retrieve non-zero if it is empty

Source from the content-addressed store, hash-verified

53
54 //! Retrieve non-zero if it is empty
55 bool empty() const {
56 return size_ == 0;
57 }
58
59 private:
60 const char *data_{nullptr};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected