Simplify ostream opt-in API

This commit is contained in:
Victor Zverovich
2022-02-04 18:33:59 -08:00
parent a5a7e3a261
commit 17b362f78c
3 changed files with 23 additions and 20 deletions
+2 -2
View File
@@ -222,8 +222,8 @@ std::wostream& operator<<(std::wostream& os, streamable_enum) {
namespace fmt {
template <>
struct formatter<streamable_enum, wchar_t>
: ostream_formatter<streamable_enum, wchar_t> {};
struct formatter<streamable_enum, wchar_t> : basic_ostream_formatter<wchar_t> {
};
} // namespace fmt
enum unstreamable_enum {};