const(type) vs. const type

Jonathan M Davis jmdavisprog at gmail.com
Tue Jul 20 16:34:29 PDT 2010


On Tuesday, July 20, 2010 16:23:23 div0 wrote:
> Const is allowed before & after the method signature which is confusing
> and annoying.

TDPL had an explanation for that that IIRC made fair sense, but I'd have to look 
it up again since I don't remember exactly what it was. Certainly, at first 
glance, it's a poor design decision. I'll obviously have to look it up again to 
see why it wasn't as bad a decision as it seems at first glance.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list