On Thursday, 5 February 2015 at 08:58:47 UTC, bearophile wrote:
zhmt:Will arr.ptr change in the future?As the array add more members , it need more memroy, then remalloc may be called, the pointer maybe change, then the stored pointer will be invalid.Will this happen?Yes, it can happen. Bye, bearophile
Thx. I understand the difference between array pointer and arr.ptr, they are not the same thing.