Explicit default constructor for structs

Jacob Carlborg doob at me.com
Fri Apr 11 08:54:35 PDT 2014


On 2014-04-11 15:53, monarch_dodra wrote:

> Yeah. It'd say those wouldn't compile anyway, but I guess something as
> trivial as:
> //----
> class A
> {...}
> A a;
> a.doit;
> //----
> Would compile for both languages, but give different results.
>
> Fine.

Unless "doit" is non-virtual in both versions.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list