functions cannot be const or auto

Janice Caron caron800 at googlemail.com
Thu Dec 13 10:53:22 PST 2007


On 12/13/07, Jarrett Billingsley <kb3ctd2 at yahoo.com> wrote:
> Only D2 has constness.

D1 still has the "const" keyword, which I'm sure is what's confusing
popka. In D1, the const keyword is used for invariant data. (I'm not
making this up! :-) ) I guess Walter was thinking ahead.

Anyway, I'm sure that the real problem here is - as /many/ people have
pointed out - the default documentation is for D2, but the default
download is D1. That's gotta confuse /any/ visitor. (It confused me!)



More information about the Digitalmars-d mailing list