mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
fix a case of Finally
This commit is contained in:
parent
dffb544a2c
commit
43051d1fc8
|
@ -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 [`finally` object](#Re-finally)
|
||||
|
||||
**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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user