Skip to content

[ranges] Consistent style for negated fold expressions in constraints #5481

@CaseyCarter

Description

@CaseyCarter

I'm reasonably certain that LWG has forwarded papers for C++23 that use the syntax (for a type pack class... Ts):

  requires (!(meow && ... && Ts))

and other papers that use:

  requires (!meow || ... || !Ts)

These forms are functionally equivalent. I think we should pick one syntax for such negated folds and use it consistently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-OtherTriaged issue not in P1 or P2

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions