Shared - Another Thread

Manu turkeyman at gmail.com
Sat Oct 20 07:32:45 UTC 2018


On Sat., 20 Oct. 2018, 12:10 am Dominikus Dittes Scherkl via Digitalmars-d,
<digitalmars-d at puremagic.com> wrote:

> On Saturday, 20 October 2018 at 06:04:45 UTC, Manu wrote:
> > How can you find that such a construct carries its weight with
> > respect
> > to its rare-ness, when its usefulness is very limited to begin
> > with?
>
> I suggested it only because of the resistance to the proposed
> implicit cast to shared. But I agree - a cast from mutable to
> immutable could also be implicit, and would rarely cause any
> problems. Still, I'm sure you would face equally strong
> resistance against that.
>

It is necessary. My dream of a @safe shared is immaterial without that
single important detail.
I can't make use of shared without it, at least, not safely, and then we
might as well all just pack up and go home.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20181020/a0fe933b/attachment.html>


More information about the Digitalmars-d mailing list