Possible to pass a member function to spawn?

bearophile bearophileHUGS at lycos.com
Wed Feb 8 16:48:53 PST 2012

Artur Skawina:

> So the question is: does having an explicit "unique" storage class improve
> things further? 

This was discussed, here and in Bartosz Milewski's blog too. Some different annotations here are surely able to make things more clear for the type system and the compiler. It was not introduced in D because making the type system more powerful has some costs too, you need to add the annotations, and you have to learn to use them. Like many design choices, that probably wasn't a final decision.


More information about the Digitalmars-d mailing list