functions cannot be const or auto
Pedro Ferreira
ara at sdf.asd
Fri Dec 14 12:58:17 PST 2007
popka Wrote:
> Janice Caron Wrote:
>
> > 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!)
>
> Thanks, both of you. I'll continue using version 1 without this feature as it seems Derelict does not support 2.0.
Wrong. Check the forums, someone has already ported Derelict to DMD 2.
More information about the Digitalmars-d
mailing list