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

Method StrLen

util/generic/strbase.h:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 using const_reverse_iterator = std::reverse_iterator<const_iterator>;
55
56 static constexpr size_t StrLen(const TCharType* s) noexcept {
57 if (Y_LIKELY(s)) {
58 return TTraits::length(s);
59 }
60 return 0;
61 }
62
63 template <class TCharTraits>
64 inline constexpr operator std::basic_string_view<TCharType, TCharTraits>() const {

Callers

nothing calls this directly

Calls 1

lengthFunction · 0.70

Tested by

no test coverage detected