expose detail::throw_format_error (#3551)

This enables to only #include <fmt/core.h> when defining formatters.
This commit is contained in:
Martin Jeřábek authored and GitHub committed 2023-07-26 13:21:38 -07:00
1 parent 4f46cb82f3
commit 503d49286d
2 files changed
+5 -2

No files matched your search

+3
View File
@@ -638,6 +638,9 @@ struct error_handler {
};
} // namespace detail
/** Helper function to throw an error from a custom formatter. */
using detail::throw_format_error;
/** String's character type. */
template <typename S> using char_t = typename detail::char_t_impl<S>::type;