We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abb1b9c commit c4e5a65Copy full SHA for c4e5a65
1 file changed
include/boost/core/lightweight_test.hpp
@@ -207,6 +207,16 @@ inline std::string test_output_impl( char const& v )
207
}
208
209
210
+#if defined(__cpp_char8_t) && __cpp_char8_t >= 201811L
211
+
212
+inline std::string test_output_impl( char8_t const& v )
213
+{
214
+ // assume that char is ASCII, compatible with char8_t
215
+ return test_output_impl( static_cast<char>( v ) );
216
+}
217
218
+#endif
219
220
// predicates
221
222
struct lw_test_eq
0 commit comments