mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-26 20:30:06 +01:00
expose detail::throw_format_error (#3551)
This enables to only #include <fmt/core.h> when defining formatters.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user