diff options
author | arivkin <arivkin@yandex-team.ru> | 2022-02-10 16:50:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:49 +0300 |
commit | e42ca7b119fc94cd6e48efec40dfb65a98db7677 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt | |
parent | a17cede06970d9a290b04aac822afb40a7c2aa86 (diff) | |
download | ydb-e42ca7b119fc94cd6e48efec40dfb65a98db7677.tar.gz |
Restoring authorship annotation for <arivkin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt')
-rw-r--r-- | library/cpp/yt/memory/ref.h | 2 | ||||
-rw-r--r-- | library/cpp/yt/memory/ref_tracked.h | 2 | ||||
-rw-r--r-- | library/cpp/yt/string/format.h | 26 |
3 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/yt/memory/ref.h b/library/cpp/yt/memory/ref.h index 0c6c88417b..73d19d9013 100644 --- a/library/cpp/yt/memory/ref.h +++ b/library/cpp/yt/memory/ref.h @@ -29,7 +29,7 @@ public: //! Creates an empty TRef. static TRef MakeEmpty(); - + //! Creates a non-owning TRef for a given blob. static TRef FromBlob(const TBlob& blob); diff --git a/library/cpp/yt/memory/ref_tracked.h b/library/cpp/yt/memory/ref_tracked.h index 7241f2bf48..75c1eb5985 100644 --- a/library/cpp/yt/memory/ref_tracked.h +++ b/library/cpp/yt/memory/ref_tracked.h @@ -67,7 +67,7 @@ TRefCountedTypeCookie GetRefCountedTypeCookieWithLocation( //! A lightweight mix-in that integrates any class into TRefCountedTracker statistics. /*! * |T| must be the actual derived type. - * + * * This mix-in provides statistical tracking only, |T| is responsible for implementing * lifetime management on its own. */ diff --git a/library/cpp/yt/string/format.h b/library/cpp/yt/string/format.h index d0cde5f08b..9708fe5906 100644 --- a/library/cpp/yt/string/format.h +++ b/library/cpp/yt/string/format.h @@ -11,44 +11,44 @@ namespace NYT { * * Basically works as a type-safe analogue of |sprintf| and is expected to * be backwards-compatible with the latter. - * + * * Like Go's |Sprintf|, supports the ultimate format specifier |v| * causing arguments to be emitted in default format. * This is the default and preferred way of formatting things, * which should be used in newer code. - * + * * |Format| may currently invoke |sprintf| internally for emitting numeric and some other * types. You can always write your own optimized implementation, if you wish :) - * + * * In additional to the usual |sprintf|, supports a number of non-standard flags: - * + * * |q| Causes the argument to be surrounded with single quotes (|'|). * Applies to all types. - * + * * |Q| Causes the argument to be surrounded with double quotes (|"|). * Applies to all types. - * + * * |l| The argument is emitted in "lowercase" style. * Only applies to enums and bools. - * + * * The following argument types are supported: - * + * * Strings (including |const char*|, |TStringBuf|, and |TString|) and chars: * Emitted as is. Fast. - * + * * Numerics and pointers: * Emitted using |sprintf|. Maybe not that fast. - * + * * |bool|: * Emitted either as |True| and |False| or |true| and |false| (if lowercase mode is ON). - * + * * Enums: * Emitted in either camel (|SomeName|) or in lowercase-with-underscores style * (|some_name|, if lowercase mode is ON). - * + * * Nullables: * |std::nullopt| is emitted as |<null>|. - * + * * All others: * Emitted as strings by calling |ToString|. * |