Function implemented outside the class

bearophile bearophileHUGS at lycos.com
Sun Mar 23 15:16:40 PDT 2014


MarisaLovesUsAll:

> C++:
> class MyClass
> {
>    void myFunc();
> };
> void MyClass::myFunc() { ... }
>
> Is it possible to do this in D ?

It's not possible. Some people want it to happen, some other 
people hate it.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list