alias to function literal, call without () not possible

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 4 06:26:40 PDT 2016


On 08/03/2016 09:40 PM, Andre Pany wrote:
> Thanks for the info. Yes, I forgot the () for new Object;
> Adding the () for new Object() still returns the same error.

`new Object` without parentheses is perfectly fine.


More information about the Digitalmars-d-learn mailing list