MCPcopy Create free account
hub / github.com/apache/arrow / operator[]

Method operator[]

cpp/src/arrow/util/trie_internal.h:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 size_t length() const { return length_; }
74 bool empty() const { return length_ == 0; }
75 char operator[](size_t pos) const {
76#ifdef NDEBUG
77 assert(pos <= length_);
78#endif
79 return data_[pos];
80 }
81
82 SmallString substr(size_t pos) const {
83 return SmallString(std::string_view(*this).substr(pos));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected