On 12/13/07, popka <popka at dodgit.com> wrote: > test.d(2): function test.Foo.f functions cannot be const or auto > > I have tried this using both DMD and GDC. What am I doing wrong? If I had to guess, I'd say you're probably using D version 1, wheras const proper is only available in D version 2.