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

Method TStringView

util/generic/strbuf.h:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 constexpr inline TBasicStringBuf(const TCharType* beg Y_LIFETIME_BOUND, const TCharType* end Y_LIFETIME_BOUND) noexcept
120#if __cplusplus >= 202002L && __cpp_lib_string_view >= 201803L && !defined(_LIBCPP_HAS_NO_CONCEPTS)
121 : TStringView(beg, end)
122#else
123 : TStringView(beg, NonNegativeDistance(beg, end))
124#endif
125 {
126 }
127
128 template <typename D, typename T>
129 inline TBasicStringBuf(const TStringBase<D, TCharType, T>& str) noexcept

Callers

nothing calls this directly

Calls 1

NonNegativeDistanceFunction · 0.85

Tested by

no test coverage detected