Scope guards

Cecil Ward cecil at cecilward.com
Sat Jun 24 17:00:36 UTC 2023


I would like to use scope guards but in the guard I need to get 
access to some local variables at the end of the routine. This 
doesn’t really seem to make sense as to how it would work, 
because their values depend on the exact point where the scope 
guard is called at in the last, exiting line(s) of the routine. 
Am I misunderstanding?


More information about the Digitalmars-d-learn mailing list