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.

Bye,
bearophile

Reply via email to