Skip to content

US334 27.05.10 [time.duration.io] Incorrect operator<< for floating-point durations LWG 3317 #330

@wg21bot

Description

@wg21bot

operator<< for floating-point durations always produces output with six digits after the decimal point, and doesn’t use the stream’s locale either.

Proposed change:
Rewrite the specification to not rely on to_string() for floating-point formatting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions