aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/variant.cpp
diff options
context:
space:
mode:
authordgolear <dgolear@yandex-team.com>2022-09-23 13:54:50 +0300
committerdgolear <dgolear@yandex-team.com>2022-09-23 13:54:50 +0300
commit9ce5be3812d329e848be6de9ce89d693860a811d (patch)
tree94c8cae2c24b13f43e20dc8229c0aae790b9a566 /library/cpp/yt/misc/variant.cpp
parent35565dd653766afe92cfb96b830cb444f8f59533 (diff)
downloadydb-9ce5be3812d329e848be6de9ce89d693860a811d.tar.gz
Support logic time in ORM
Diffstat (limited to 'library/cpp/yt/misc/variant.cpp')
-rw-r--r--library/cpp/yt/misc/variant.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/library/cpp/yt/misc/variant.cpp b/library/cpp/yt/misc/variant.cpp
new file mode 100644
index 00000000000..be86affef8f
--- /dev/null
+++ b/library/cpp/yt/misc/variant.cpp
@@ -0,0 +1,16 @@
+#include "variant.h"
+
+#include <library/cpp/yt/string/string_builder.h>
+
+namespace NYT {
+
+////////////////////////////////////////////////////////////////////////////////
+
+void FormatValue(TStringBuilderBase* builder, const std::monostate&, TStringBuf /*format*/)
+{
+ builder->AppendString(TStringBuf("<monostate>"));
+}
+
+////////////////////////////////////////////////////////////////////////////////
+
+} // namespace NYT