Go to the documentation of this file.
   12#define ADD_DEFAULT_FORMATTER(TYPE, STRING, TO_STRING) \ 
   13template <> struct fmt::formatter<TYPE>: fmt::formatter<STRING> \ 
   15    template <typename FormatContext> \ 
   16    auto format(const TYPE& c, FormatContext& ctx) const \ 
   18        return fmt::formatter<STRING>::format(TO_STRING(c), ctx); \ 
   22#define ADD_CATCH_FORMATTER_DEF(TYPE) \ 
   24operator<<(std::ostream& stream, const TYPE& v); 
 
   26#define ADD_CATCH_FORMATTER_IMPL(TYPE) \ 
   28operator<<(std::ostream& stream, const TYPE& v) \ 
   30    return stream << ::eu::string_from(v); \