How do I call a context objects destructor or some type of exit() function automatically upon exiting a with {} scope?
Daniel via Digitalmars-d-learn Tue, 01 Apr 2025 10:35:09 -0700
I thought the destructor might automatically be called after with
(new Context()) {} but it's not. Is there some sort of
entry/exit functions like in Python?
- How do I call a context objects destr... Daniel via Digitalmars-d-learn
- Re: How do I call a context obje... Mike Parker via Digitalmars-d-learn
- Re: How do I call a context ... Ali Çehreli via Digitalmars-d-learn
- Re: How do I call a cont... Daniel via Digitalmars-d-learn
- Re: How do I call a context ... Daniel via Digitalmars-d-learn