Truly @nogc Exceptions?

Seb seb at wilzba.ch
Wed Sep 19 23:53:29 UTC 2018


On Wednesday, 19 September 2018 at 21:28:56 UTC, Steven 
Schveighoffer wrote:
> On 9/19/18 5:16 PM, Steven Schveighoffer wrote:
>> One further thing: I didn't make the sink version of message 
>> @nogc, but in actuality, it could be.

We recently introduced support for output ranges in the 
formatting of Phobos:

https://dlang.org/changelog/2.079.0.html#toString

Output ranges have the advantage that they could be @nogc and 
because of the templatization also @safe.


More information about the Digitalmars-d mailing list