Skip to content

CWG2586 Explicit object parameter for assignment and comparison  #1235

@jensmaurer

Description

@jensmaurer

See CWG2586.

It's pretty obvious that the situation for comparison operators is a wording oversight, but it's less obvious whether the relaxation of the rules is desirable for copy/move assignment operators, since those are a lot more restricted in the status quo (they can't be friends, for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++23Targeted at C++23CWGCoreplenary-approvedPapers approved for inclusion in their target vehicle by plenary vote.straw-pollStraw poll

    Type

    No type

    Projects

    Status

    Approved for plenary vote

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions