Skip to content

LWG 3636 #3447

Description

@ecatmur

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions