Sharing in D

Walter Bright newshound1 at digitalmars.com
Thu Jul 31 22:51:49 PDT 2008


Jesse Phillips wrote:
> Would this never happen? Do I now have to cast my unshared to shared even 
> though I'm not interested in sharing? My main point, is that if I'm 
> writing a single threaded program, I shouldn't care about sharing even if 
> the library I'm using does.

Unshared can be implicitly cast to shared, so you shouldn't have to.



More information about the Digitalmars-d mailing list