@property - take it behind the woodshed and shoot it?

Rob T alanb at ucora.com
Fri Jan 25 14:04:58 PST 2013


On Friday, 25 January 2013 at 21:51:14 UTC, mist wrote:
> 2 cents regarding your position on "@property" usage in phobos:
>
> 1) You can always use shorter syntax:
> @property:
> int func1();
> int func2();
> ...
>

This already works

@property {
    int func1();
    int func2();
}

--rt


More information about the Digitalmars-d mailing list