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

Function operator[]

util/generic/string.h:261–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259 }
260
261 inline const_reference operator[](size_t pos) const noexcept Y_LIFETIME_BOUND {
262 Y_ASSERT(pos <= length());
263
264 return this->data()[pos];
265 }
266
267 inline reference operator[](size_t pos) noexcept Y_LIFETIME_BOUND {
268 Y_ASSERT(pos <= length());

Callers

nothing calls this directly

Calls 2

lengthFunction · 0.70
dataMethod · 0.45

Tested by

no test coverage detected