Implicit const

Janice Caron caron800 at googlemail.com
Thu Apr 3 04:29:12 PDT 2008


On 03/04/2008, Ary Borenszweig <ary at esperanto.org.ar> wrote:
>  But maybe you want that function to be overriden by subclasses. Maybe if it
> were "final int f()", then it could say that.
>
>  What about const? Does a const function must be overriden by a const
> function?

I said warning, not error. A warning is not an error. I propose /no/
changes here to legal D. Warnings are an entirely different beast. But
D doesn't have warnings, so the question is moot. Perhaps some
third-party app could be written to emit such warnings, I don't know.



More information about the Digitalmars-d mailing list