aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string/format_string.h
diff options
context:
space:
mode:
authorarkady-e1ppa <arkady-e1ppa@yandex-team.com>2024-08-07 13:31:32 +0300
committerarkady-e1ppa <arkady-e1ppa@yandex-team.com>2024-08-07 14:35:26 +0300
commitb92a4e77b0ee24fc7ae9d4488d97999ac39f48e3 (patch)
tree5bb3e970bb249ea0f0a42f58a65c5a5d6708e8a4 /library/cpp/yt/string/format_string.h
parent933bb8d7a12d3881898904226e8884e8695275ef (diff)
downloadydb-b92a4e77b0ee24fc7ae9d4488d97999ac39f48e3.tar.gz
YT-22473: Enable for-each formatting in known ranges
5a3405e64b730f0056e381af07658d6c2edcb92b
Diffstat (limited to 'library/cpp/yt/string/format_string.h')
-rw-r--r--library/cpp/yt/string/format_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yt/string/format_string.h b/library/cpp/yt/string/format_string.h
index 0c34763773..ebef9d7042 100644
--- a/library/cpp/yt/string/format_string.h
+++ b/library/cpp/yt/string/format_string.h
@@ -27,7 +27,7 @@ private:
// This class used to properly bind to
// string literals and allow compile-time parsing/checking
-// of those. If you need a runtime format, use TRuntimeFormat
+// of those. If you need a runtime format, use TRuntimeFormat.
template <class... TArgs>
class TBasicFormatString
{
@@ -50,7 +50,7 @@ private:
static void CrashCompilerClassIsNotFormattable();
};
-// Used to properly infer template arguments if Format.
+// Used to properly infer template arguments in Format.
template <class... TArgs>
using TFormatString = TBasicFormatString<std::type_identity_t<TArgs>...>;