diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index db3291c..993bb26 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9020,7 +9020,7 @@ If you wanted to see the bytes of an `int`, use a (named) cast: void if_you_must_pun(int& x) { auto p = reinterpret_cast(&x); - cout << p[0] << '\n'; // OK; better + cout << to_integer(p[0]) << '\n'; // OK; better // ... }