Warnings/What should I know?

Adam D. Ruppe destructionator at gmail.com
Fri Oct 18 10:11:15 PDT 2013


On Friday, 18 October 2013 at 17:09:18 UTC, H. S. Teoh wrote:
> I thought classes do have default ctors?

yeah but you still have to new them.

Class c; // c is null, unlike C++

Class c =new Class(); // cool


More information about the Digitalmars-d-learn mailing list