Content deleted Content added
Tags: Mobile edit Mobile web edit |
m Dating maintenance tags: {{Says who}} {{Citation needed}} |
||
Line 75:
| accessdate=2019-03-09}}</ref>
Using RAII greatly simplifies resource management, reduces overall code size and helps ensure program correctness. RAII is therefore highly recommended in C++{{says who|date=January 2020}}, and most of the C++ standard library follows the idiom.<ref>{{cite web
| url=https://isocpp.org/wiki/faq/exceptions#too-many-trycatch-blocks
| title=I have too many try blocks; what can I do about it?
Line 141:
| date=2011-04-05
| publisher=Stack Overflow
| accessdate=2019-03-09}}</ref> This behavior is usually acceptable, since the operating system releases remaining resources like memory, files, sockets, etc. at program termination.{{citation needed|date=January 2020}}
== Reference counting ==
|