4 ms·
https://en.cppreference.com/w/cpp/language/pointer https://en.cppreference.com/w/cpp/language/pointer Nullptr section is not directly linkable, but: "A pointer
by compiler-guy 2y ago
https://en.cppreference.com/w/cpp/language/pointer https://en.cppreference.com/w/cpp/language/pointer Nullptr section is not directly linkable, but:
"A pointer whose value is null does not point to an object or a function (the behavior of dereferencing a null pointer is undefined), and compares equal to all pointers of the same type whose value is also null."
- shadowgovt 2y ago`p = reinterpret_cast<int*>(42);` doesn't create a nullptr.
- compiler-guy 2y agoThe gp example does, however.