mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix typo.
This commit is contained in:
parent
2110e06336
commit
d7f7ca5ab4
|
@ -2062,7 +2062,7 @@ When I call `length(s)` should I test for `s==nullptr` first? Should the impleme
|
|||
**Exception**: Sinks (that is, a function that eventually destroys an object or passes it along to another sink), may benefit ???
|
||||
|
||||
**Note**: A reference may be assumed to refer to a valid object (language rule).
|
||||
There in no (legitimate) "null reference."
|
||||
There is no (legitimate) "null reference."
|
||||
If you need the notion of an optional value, use a pointer, `std::optional`, or a special value used to denote "no value."
|
||||
|
||||
**Enforcement**:
|
||||
|
|
Loading…
Reference in New Issue
Block a user