cdunn2001: "There's actually a lot of places I'd really like to use "withAs" in, eg to make sure that resources are closed, but without needing to add a resource-specific "defer" line." So wizzardx will need to create a template like this for every type he'll use
- Re: Python-like with, context managers, and the RAII pattern cdunn2001
- Re: Python-like with, context managers, and the RAII patte... Benjaminel
- Re: Python-like with, context managers, and the RAII p... wizzardx
- Re: Python-like with, context managers, and the RA... cdunn2001
- Re: Python-like with, context managers, and th... Tiberium