On Wednesday, 21 April 2021 at 10:47:08 UTC, Mike Parker wrote:
On Wednesday, 21 April 2021 at 10:00:51 UTC, realhet wrote:

It has access to the context of its enclosing scope (via an added hidden field).

Thanks!

So it is unsafe to return a non-static nested struct from a function. But it is useful to pass it forward into other functions.

Reply via email to