|
|
|
|
|
by sirwhinesalot
346 days ago
|
|
You deal with those the same way you deal with them in any language without RAII, some sort of try-with-resource block or defer. Not making a value judgment if that is better or worse than RAII, just pointing out that resources of different kinds don't have to be handled by the same mechanism. This blog post is about memory management in C3. Other resource management is already handled by defer. |
|