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 | a17cede06970d9a290b04aac822afb40a7c2aa86 (patch) | |
tree | cafc8248e5e485600fad3b55cbbee92a5179de3d /library/cpp | |
parent | cdd0799465ab07b2689e623e8db9cd333b01e0dc (diff) | |
download | ydb-a17cede06970d9a290b04aac822afb40a7c2aa86.tar.gz |
Restoring authorship annotation for <arivkin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
-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 73d19d9013..0c6c88417b 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 75c1eb5985..7241f2bf48 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 9708fe5906..d0cde5f08b 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|. * |