Per https://cplusplus.github.io/LWG/issue3636, formatters should have format() const. Failure to enforce this impedes compatibility with standard formatting i.e. once we've written formatters for fmt, we need to go and add const on format() to make them compatible with std::format.
Please consider enforcing that formatter<T>::format() specialization member functions can be called const. Perhaps this could be done with deprecation initially.
Per https://cplusplus.github.io/LWG/issue3636, formatters should have
format() const. Failure to enforce this impedes compatibility with standard formatting i.e. once we've written formatters for fmt, we need to go and addconstonformat()to make them compatible with std::format.Please consider enforcing that
formatter<T>::format()specialization member functions can be calledconst. Perhaps this could be done with deprecation initially.