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

Function AppendJoin

util/string/join.h:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89template <typename... TValues>
90inline void AppendJoin(TString& dst, const TStringBuf delim, const TValues&... values) {
91 const size_t appendLength = ::NPrivate::GetAppendLength(delim, values...);
92 if (appendLength > 0) {
93 dst.reserve(dst.length() + appendLength);
94 }
95 AppendJoinNoReserve(dst, delim, values...);
96}
97
98template <typename TFirst, typename... TRest>
99inline TString Join(const TStringBuf delim, const TFirst& f, const TRest&... r) {

Callers 1

JoinFunction · 0.85

Calls 4

GetAppendLengthFunction · 0.85
AppendJoinNoReserveFunction · 0.85
reserveMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected