mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Change 'finally object' to 'final_action object'
This commit is contained in:
@@ -8339,7 +8339,7 @@ Unless you really need pointer semantics, use a local resource object:
|
|||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
|
||||||
**Note**: If there is no obvious resource handle, cleanup actions can be represented by a [`finally` object](#Re-finally)
|
**Note**: If there is no obvious resource handle, cleanup actions can be represented by a [`final_action` object](#Re-finally)
|
||||||
|
|
||||||
**Note**: But what do we do if we are writing a program where exceptions cannot be used?
|
**Note**: But what do we do if we are writing a program where exceptions cannot be used?
|
||||||
First challenge that assumption; there are many anti-exceptions myths around.
|
First challenge that assumption; there are many anti-exceptions myths around.
|
||||||
|
|||||||
Reference in New Issue
Block a user