generic cast(unshared) ?

Timothee Cour via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 28 17:13:32 PDT 2015


Note:
should work with any types, eg:
shared(T[])* => T[]*
etc...


On Sun, Jun 28, 2015 at 4:42 PM, Timothee Cour <thelastmammoth at gmail.com>
wrote:

> How would I cast away shared for a given expression?
> I can write it for a specific type but I'd like to have a generic way to
> do so.
> Also, Unqual doesn't help here.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150628/a80a1606/attachment.html>


More information about the Digitalmars-d-learn mailing list