On Tuesday, 30 July 2019 at 09:46:07 UTC, Andrea Fontana wrote:

Looking at its source code, it seems it's a way to force the call of "destroy" method of wrapped object (Context in your case) when the struct goes out of its scope (and d-tor is called)

Andrea

Thanks, Andrea (and rikki). I actually learned this a while back (even wrote about it in a blog post) but I've noticed my memory is playing tricks on me lately.

In fact, don't be surprised if I ask this same question (or a close variation of it) next month. (sigh)

Reply via email to