paint-brush
How To Use C++ Null Pointersby@promwad-com
230 reads

How To Use C++ Null Pointers

by Ivan Kuten4mAugust 14th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A null pointer can’t point to a valid object because it’s “distinct from every other value of object pointer” (conv.ptr#1) The Core Working Group elaborates wording of the Standard, among other things. If a future Standard prohibits indirection through a null pointer like C does (N2176, 6.5.3.2 and footnote 104) then all examples will be rendered to contain undefined behavior. The Standard leaves room for interpretation instead of being clear on this particular topic, let's turn to core language issues list.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Use C++ Null Pointers
Ivan Kuten HackerNoon profile picture
Ivan Kuten

Ivan Kuten

@promwad-com

Ivan Kuten is the co-owner and CTO of Promwad Electronics Design House: promwad.com

Learn More
LEARN MORE ABOUT @PROMWAD-COM'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Ivan Kuten HackerNoon profile picture
Ivan Kuten@promwad-com
Ivan Kuten is the co-owner and CTO of Promwad Electronics Design House: promwad.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Startupnchill