Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with...
by billyoneal on Sunday October 22, 2023 @01:17AM
(#37973013)
The big place where it happens in modern environments are for pointers to members, where 0 is a bad nullptr value because the member at index 0 is legitimately a thing you want to name. MSVC uses -1 for nullptr in such cases.
[ Parent
| on HN ]
There are no comments on this comment yet.