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

Function TryFromStringWithDefault

util/string/cast.h:306–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305template <class T, class TStringType>
306inline bool TryFromStringWithDefault(const TStringType& s, T& result, const T& def) {
307 return TryFromString<T>(s.data(), s.size(), result, def);
308}
309
310template <class T>
311inline bool TryFromStringWithDefault(const char* s, T& result, const T& def) {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 3

TClass · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected