Hi, I've been playing around with having classes allocated on the
stack. I am using the scope keyword for local variables. I
assumed that the scope modifier for function parameters was
designed to prevent these from escaping, but the code below
doesn't show any errors. Is there some newer featu
On Sunday, 23 February 2020 at 03:26:17 UTC, Steven Schveighoffer
wrote:
On 2/22/20 10:01 PM, Russ wrote:
Is there some newer feature I should be using?
scope escapes are only disallowed in @safe code.
Adding @safe: to the top of this file makes it not compile with
a complaint:
Error: scop