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

Class TRuntimeFormat

library/cpp/yt/string/format_string.h:17–26  ·  view source on GitHub ↗

Explicitly create TRuntimeFormat if you wish to use runtime/non-literal value as format.

Source from the content-addressed store, hash-verified

15// Explicitly create TRuntimeFormat if you wish to
16// use runtime/non-literal value as format.
17class TRuntimeFormat
18{
19public:
20 explicit TRuntimeFormat(TStringBuf fmt);
21
22 TStringBuf Get() const noexcept;
23
24private:
25 TStringBuf Format_;
26};
27
28// This class used to properly bind to
29// string literals and allow compile-time parsing/checking

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected