diff --git a/test/numeric_traits_test.cpp b/test/numeric_traits_test.cpp index c22cc6f..197f61f 100644 --- a/test/numeric_traits_test.cpp +++ b/test/numeric_traits_test.cpp @@ -154,6 +154,12 @@ template <> struct stream_as { typedef unsigned char t1; typedef unsigned t2; }; +// C++20 ostream has deleted operator<< for wchar_t +template <> struct stream_as { + typedef unsigned int t1; + typedef unsigned int t2; +}; + #if defined(BOOST_MSVC_STD_ITERATOR) // No intmax streaming built-in // With this library implementation, __int64 and __uint64 get streamed as strings