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

Function StripInPlace

util/string/strip.h:257–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256template <typename T>
257inline void StripInPlace(T& s) {
258 StripString(s, s);
259}
260
261/// Returns a copy of the given string with removed leading and trailing spaces.
262[[nodiscard]] inline TString Strip(const TString& s) {

Callers 4

NormalizeValueMethod · 0.85
OnTokenMethod · 0.85
Y_UNIT_TESTFunction · 0.85
CollapseTextFunction · 0.85

Calls 1

StripStringFunction · 0.85

Tested by

no test coverage detected