An exegesis of Walter's reference counted slice

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 24 12:04:27 PST 2015


On 2/24/15 12:03 PM, weaselcat wrote:
> On Tuesday, 24 February 2015 at 19:40:35 UTC, Andrei Alexandrescu wrote:
>> ...
>
> Off-topic, sorry
> Are we still going to get a Trusted block, or just going to use trusted
> lambdas?(They're kind of ugly TBH)

We're going to lambdas. Ugliness is a feature.

>> But I was bummed that e.g. I found no way to call emplace() @safe-ly.
>
> I assumed emplace would infer @safe?

It currently doesn't properly, probably because it uses T* instead of ref T.


Andrei



More information about the Digitalmars-d mailing list