A few questions

Namespace rswhite4 at googlemail.com
Fri Jul 27 04:23:27 PDT 2012


> The reason "const Foo some_function" is allowed is because in D 
> this syntax is possible:
>
> class Foo
> {
>     const:
>
>     Foo some_function () {}
> }

Good point. I had completely forgotten, that that is possible.
But it seems that no one would have interest in my second 
proposal. :)


More information about the Digitalmars-d-learn mailing list