Menu

#538 c++20 three way (spaceship) operator

closed-fixed
None
2023-01-24
2020-04-09
neok-m4700
No

On latest trunk [672]:

a.hh

struct Int
{
    int i;
    auto operator<=>(const Int& rhs) const = default;
};

$ astyle --pad-oper a.hh

struct Int
{
    int i;
    auto operator<= > (const Int& rhs) const = default;
};

The operator <=> should not be changed.

Discussion

  • André Simon

    André Simon - 2022-11-25
    • status: open --> open-accepted
    • assigned_to: André Simon
     
  • André Simon

    André Simon - 2023-01-24
    • status: open-accepted --> closed-fixed
     
  • André Simon

    André Simon - 2023-01-24

    This issue was resolved in the latest 3.2 beta release.

     

Log in to post a comment.