diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index fe616973bbc28e6c244a4d261544eff37f52f0e7..613cd081bef519ec9db88f84c38ebaaafed5b411 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3472,7 +3472,7 @@ Sometimes having `nullptr` as an alternative to indicated "no object" is useful, ##### Note -It is possible, but not valid C++ to construct a reference that is essentially a `nullptr` (e.g., `T* p = nullptr; T& r = (T&)*p;`). +It is possible, but not valid C++ to construct a reference that is essentially a `nullptr` (e.g., `T* p = nullptr; T& r = *p;`). That error is very uncommon. ##### Note