diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
commit | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch) | |
tree | 506dac10f5df94fab310584ee51b24fc5a081c22 /util/stream/output.cpp | |
parent | 2d37894b1b037cf24231090eda8589bbb44fb6fc (diff) | |
download | ydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/output.cpp')
-rw-r--r-- | util/stream/output.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/util/stream/output.cpp b/util/stream/output.cpp index db81b81b70..9cd1f4b092 100644 --- a/util/stream/output.cpp +++ b/util/stream/output.cpp @@ -117,19 +117,19 @@ void Out<std::u32string_view>(IOutputStream& o, const std::u32string_view& p) { template <> void Out<TStringBuf>(IOutputStream& o, const TStringBuf& p) { o.Write(p.data(), p.length()); -} - -template <> +} + +template <> void Out<TWtringBuf>(IOutputStream& o, const TWtringBuf& p) { WriteString(o, p.data(), p.length()); -} - -template <> +} + +template <> void Out<TUtf32StringBuf>(IOutputStream& o, const TUtf32StringBuf& p) { WriteString(o, p.data(), p.length()); -} - -template <> +} + +template <> void Out<const wchar16*>(IOutputStream& o, const wchar16* w) { if (w) { WriteString(o, w, std::char_traits<wchar16>::length(w)); @@ -201,14 +201,14 @@ DEF_CONV_NUM(float, 512) DEF_CONV_NUM(double, 512) DEF_CONV_NUM(long double, 512) -#if !defined(_YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION) || (_YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION == 1) -// TODO: acknowledge std::bitset::reference for both libc++ and libstdc++ +#if !defined(_YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION) || (_YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION == 1) +// TODO: acknowledge std::bitset::reference for both libc++ and libstdc++ template <> -void Out<typename std::vector<bool>::reference>(IOutputStream& o, const std::vector<bool>::reference& bit) { - return Out<bool>(o, static_cast<bool>(bit)); -} -#endif - +void Out<typename std::vector<bool>::reference>(IOutputStream& o, const std::vector<bool>::reference& bit) { + return Out<bool>(o, static_cast<bool>(bit)); +} +#endif + #ifndef TSTRING_IS_STD_STRING template <> void Out<TBasicCharRef<TString>>(IOutputStream& o, const TBasicCharRef<TString>& c) { |