From a0afb203540f6183cbebab095e2300008cdd901e Mon Sep 17 00:00:00 2001 From: Chanwoo Ahn Date: Mon, 19 Feb 2024 14:44:21 +0900 Subject: [PATCH] chore: Remove operator<< support for String as well --- include/efp/string.hpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/efp/string.hpp b/include/efp/string.hpp index a0a3c41..e75fc73 100644 --- a/include/efp/string.hpp +++ b/include/efp/string.hpp @@ -353,18 +353,18 @@ using U8StringView = BasicStringView; #if defined(__STDC_HOSTED__) && __STDC_HOSTED__ == 1 -template -auto operator<<(std::ostream& os, const A& seq) -> EnableIf< - IsSequence::value && detail::IsCharType>::value && !IsSame::value, - std::ostream&> { - static_assert(IsSequence(), "Argument should be an instance of Sequence trait."); - - for (const auto& elem : seq) { - os << elem; - } - - return os; -} +// template +// auto operator<<(std::ostream& os, const A& seq) -> EnableIf< +// IsSequence::value && detail::IsCharType>::value && !IsSame::value, +// std::ostream&> { +// static_assert(IsSequence(), "Argument should be an instance of Sequence trait."); + +// for (const auto& elem : seq) { +// os << elem; +// } + +// return os; +// } #endif