Error: 'this' is only defined in non-static member functions, not parse

H. S. Teoh hsteoh at
Tue Jan 17 10:07:22 PST 2012

On Tue, Jan 17, 2012 at 06:58:55PM +0100, Matej Nanut wrote:
> Your explanation was nice, but now I'd like to know what the
> difference of a non-static vs. a static class is, if they're defined
> top-level? Or are they then the same? I don't expect anyone to
> thoroughly explain things to me, but pointing out a good source, like
> a link or a book, would be really helpful.

Andrei's book ("The D Programming Language") is quite thorough in
explaining these D constructs. It's a highly recommended buy if you're
doing serious work in D.


The two rules of success: 1. Don't tell everything you know. -- YHL

More information about the Digitalmars-d-learn mailing list