Skip to content

tuple-formatter doesn't check that the tuple-elements are formattable. #2939

Description

@jehelset

tuple-formatter doesn't check that the tuple-elements are formattable:
https://github.com/fmtlib/fmt/blob/master/include/fmt/ranges.h#L285-L287

which makes is_formattable<std::tuple<T>>::value true:
https://godbolt.org/z/G3zsT4q4W

even when the T is not formattable, and trying to format std::tuple<T> will lead to a hard error.

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions