Skip to content

Dynamic precision for nested_formatter does not work #3860

Open
@tobiasleibner

Description

@tobiasleibner

When changing the struct Point example explaining nested_formatter-usage in the API reference to use dynamic precision, execution fails with an error

Execution build compiler returned: 0
Program returned: 139
terminate called after throwing an instance of 'fmt::v10::format_error'
  what():  precision is not integer
Program terminated with signal: SIGSEGV

Reproducer on godbolt: https://godbolt.org/z/srYqdvnEb

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