diff options
author | dgolear <dgolear@yandex-team.com> | 2022-09-23 13:54:50 +0300 |
---|---|---|
committer | dgolear <dgolear@yandex-team.com> | 2022-09-23 13:54:50 +0300 |
commit | 9ce5be3812d329e848be6de9ce89d693860a811d (patch) | |
tree | 94c8cae2c24b13f43e20dc8229c0aae790b9a566 /library/cpp/yt/misc/variant.h | |
parent | 35565dd653766afe92cfb96b830cb444f8f59533 (diff) | |
download | ydb-9ce5be3812d329e848be6de9ce89d693860a811d.tar.gz |
Support logic time in ORM
Diffstat (limited to 'library/cpp/yt/misc/variant.h')
-rw-r--r-- | library/cpp/yt/misc/variant.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/yt/misc/variant.h b/library/cpp/yt/misc/variant.h index 21e16ec60e7..1c8a3c90196 100644 --- a/library/cpp/yt/misc/variant.h +++ b/library/cpp/yt/misc/variant.h @@ -1,5 +1,7 @@ #pragma once +#include <util/generic/string.h> + #include <variant> namespace NYT { @@ -11,6 +13,8 @@ class TStringBuilderBase; template <class... Ts> void FormatValue(TStringBuilderBase* builder, const std::variant<Ts...>& variant, TStringBuf spec); +void FormatValue(TStringBuilderBase* builder, const std::monostate&, TStringBuf /*format*/); + template <class... Ts> TString ToString(const std::variant<Ts...>& variant); |