class Foo { }
void bar (Foo foo, int x) {} auto foo = new Foo; foo.bar(3);Is it possible, somehow, to emulate adding new _static_ methods to a class, something like this:
void fooBar (/*something*/, int x) {} Making this possible: Foo.fooBar(4); -- /Jacob Carlborg