shared - i need it to be useful

Walter Bright newshound2 at digitalmars.com
Sun Oct 21 18:45:15 UTC 2018


I'd like to add that if the compiler can prove that a T* points to a unique T, 
then it can be implicitly cast to shared(T)*. And it does so, like the result of 
.dup can be so converted.


More information about the Digitalmars-d mailing list