Skip to content

Reject improper user-define literals #1108

@chuggafan

Description

@chuggafan

There is a set list of allowable types for user-defined literals in the C++ standard:
https://en.cppreference.com/w/cpp/language/user_literal.html
We do not reject these by default upon declaration, and the way in which we currently reject them is at point-of-use when we say that we cannot find a match for a "literal suffix".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions