On Monday, 22 February 2016 at 18:03:03 UTC, Nick Treleaven wrote:
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);
Ha right indeed it's probably going to work. It was just a bit surprising.
