Inside the C++ Object Model 读书笔记

 

1.3 An Object Distinction

  • An integer pointer addressing memory location 1000 on a 32-bit machine spans the address space 1000?003.
  • The ZooAnimal pointer, if we presume a conventional 8-byte String (a 4-byte character pointer and an integer to hold the string length), spans the address space 1000?015.

 

你可能感兴趣的:(object,c++,integer,character,string,读书)