We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
class Foo { public: static Foo operator+(Foo a, Foo b) { ... } }
public class Foo { public static Foo operator+(Foo a, Foo b) { ... } }
class Foo { operator fun plus(other Foo): Foo { ... } }
class Foo: def __add__(self, other): ...
type Foo struct {...} func (a Foo) + (b Foo) Foo { ... }