I was told on Stack Overflow:
“A pointer is just a pointer.”
Well I don’t think it is intended to be in C++. Pass by reference a struct
and it knows all about it. But what about char*
this is not really pointer to a char
, it is a pointer to a string. There is implicit, but clear information about the intended use. The size is defined. It is just not stored.
Mark is doing a full time job but likes to have side projects. Currently learning C++ and Vulkan. Other areas of interest are photography and going for long walks.