mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 04:44:34 +03:00
R.3: "a" -> "an" (#1465)
This commit is contained in:
committed by
Jonathan Wakely
parent
d8a6aaa40b
commit
fbc9db56f0
@@ -9119,7 +9119,7 @@ Some interfaces cannot be simply annotated with `owner` because they need to rem
|
|||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
`owner<T*>` has no default semantics beyond `T*`. It can be used without changing any code using it and without affecting ABIs.
|
`owner<T*>` has no default semantics beyond `T*`. It can be used without changing any code using it and without affecting ABIs.
|
||||||
It is simply a indicator to programmers and analysis tools.
|
It is simply an indicator to programmers and analysis tools.
|
||||||
For example, if an `owner<T*>` is a member of a class, that class better have a destructor that `delete`s it.
|
For example, if an `owner<T*>` is a member of a class, that class better have a destructor that `delete`s it.
|
||||||
|
|
||||||
##### Example, bad
|
##### Example, bad
|
||||||
|
|||||||
Reference in New Issue
Block a user