@mutable

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 22 10:03:03 PST 2016


On Monday, 22 February 2016 at 17:28:03 UTC, Guillaume Chatelet 
wrote:
>> static make() {
>
> The return type is missing for the make() function:

I'm pretty sure static here works just like 'static auto'. In D I 
think you can use storage classes (and even attributes) to imply 
auto:

const foo(){return 5;}

assert(foo() == 5);


More information about the Digitalmars-d mailing list