Error: class myClass.myClass() is used as a type

F i L witte2008 at gmail.com
Mon Jan 28 17:06:54 PST 2013


F i L wrote:
>
>     class myClass() {
>         this() { ... }
>     }

Whoops, forgot to remove the '()' after 'myClass'. As others have 
pointed out, that will make 'myClass' a template-class.



More information about the Digitalmars-d mailing list