> 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. :)