Closed DanRStevens closed 5 years ago
The values represent memory addresses. Early on, I decided to use pointer syntax because of that. As the exact type of data was unknown and often didn't even matter, I went with void*
. I didn't really know about std::size_t
at the time, or at least didn't like it because I thought the name was awful. However, a std::size_t
is defined to be able to span the memory space. Hence it is effectively able to hold memory addresses. It is also untyped, in the sense that it represents a memory address as a numerical value, without regard for the type at that address. It works directly on the address, not on what is being addressed. This turns out to be a much closer fit to how the code works. It manipulates addresses more so that what is at those addresses.
This closes #257.