Skip to content

CWG2733 Applying [[maybe_unused]] to a label  #1585

Description

@jensmaurer

Both gcc and clang accept [[maybe_unused]] on an identifier label.

This seems to be a small extension that improves consistency of the language; EWG is asked to approve.

See CWG2733 for details including CWG-approved wording.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++26Targeted at C++26CWGCoreplenary-approvedPapers approved for inclusion in their target vehicle by plenary vote.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Approved for plenary vote

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions