summaryrefslogtreecommitdiffhomepage
path: root/src/test-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-helper.h')
-rw-r--r--src/test-helper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test-helper.h b/src/test-helper.h
index c3e2900..676af73 100644
--- a/src/test-helper.h
+++ b/src/test-helper.h
@@ -14,6 +14,12 @@ namespace std {
std::ostream& operator<<(std::ostream& os, std::basic_string<char16_t> const& s);
std::ostream& operator<<(std::ostream& os, std::basic_string<char32_t> const& s);
+#ifdef __cpp_char8_t
+ std::ostream& operator<<(std::ostream& os, utf8_t const& c);
+#endif
+ std::ostream& operator<<(std::ostream& os, char16_t const& c);
+ std::ostream& operator<<(std::ostream& os, char32_t const& c);
+
} // namespace std
template<typename From, typename To>