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

Function StripRangeEnd

util/string/strip.h:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54template <class It, class TStripCriterion>
55inline void StripRangeEnd(const It& b, It& e, TStripCriterion&& criterion) noexcept {
56 while (b < e && criterion(e - 1)) {
57 --e;
58 }
59}
60
61template <class It>
62inline void StripRangeEnd(const It& b, It& e) noexcept {

Callers 1

StripRangeMethod · 0.85

Calls 1

IsAsciiSpaceAdapterFunction · 0.85

Tested by

no test coverage detected