Replies: 2 comments 1 reply
-
|
This seems related:
I am not allowed to omit I think this should be enforced as “operator== should return a boolean” rather than “operator== should be followed by |
Beta Was this translation helpful? Give feedback.
-
|
If you just omit the The error for
This is ok, but |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I omit the
-> _from theoperator+, I get the error:Why is this?
Two additional questions:
: Int = x + valis the correct CPP2 equivalent ofInt(x + val)from CPP1?Beta Was this translation helpful? Give feedback.
All reactions