Skip to content

Need Annex C entry for hexfloat  #680

Closed
@timsong-cpp

Description

@timsong-cpp

The change to the pp-number production necessitated by the introduction of hexadecimal floating point literals can break valid C++14 code:

long double operator""_p(long double);
auto x = 0e1_p+0; // parsed as 0e1_p + 0 in C++14
                  // parsed as a single pp-number instead in C++17 (and so ill-formed)

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