Remove unneeded operators for string compare.
@@ -631,6 +631,7 @@ template<uint32_t StackSize>
small_string<StackSize>
operator + (const char * a, const small_string<StackSize> & b);
+#if __cplusplus < 201709L || (!defined(__clang__) && defined(__GNUC__) && __GNUC__ < 10)
template<typename T, uint32_t StackSize>
bool
operator == (const T& a, const small_string<StackSize>& b) noexcept
@@ -644,6 +645,7 @@ operator != (const T& a, const small_string<StackSize>& b) noexcept
{
return b != a;
}
+#endif
template<typename T, uint32_t StackSize>
bool
