MCPcopy Create free account
hub / github.com/catboost/catboost / front

Function front

util/generic/string.h:295–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 using TBase::front;
294
295 inline reference front() noexcept Y_LIFETIME_BOUND {
296 Y_ASSERT(!this->empty());
297
298#ifdef TSTRING_IS_STD_STRING
299 return Storage_.front();
300#else
301 return reference(*this, 0);
302#endif
303 }
304
305 inline size_t length() const noexcept {
306 return ConstRef().length();

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected