-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/05/2011 08:01 PM, Keith Thompson wrote:
> Garrett Hartshaw <> writes:
> [...]
>> When you copy an object, you get a new instance of the class that that
>> object was based on with that same values for all of the members. As a
>> class is defined by the C++ standard to be a region of storage, it is
>> nonsensical to say that you have a new instance of that region of
>> storage. What you have is a different region of storage that happens to
>> be storing the same thing.
>
> Correction: an *object*, not a class, is defined to be a region of
> storage. (I'm sure it was just a typo.)
>
> Note also that the type of an object needn't be a class. For example:
>
> int x;
>
> creates an object (a region of storage than can hold values of type int).
>
Yes that was a typo, and I was trying to narrow it down to objects with
a type defined by a class, not that I really expect that to help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJNJhRzAAoJEO0SzzQOdchNWlQQAI1jKDKele 55KccRO3bp+vXC
0sxixa9cmvTpox35z9XXpgJxgX3IAK9SC7eHDvNnChR48ITd5J fXTUK9Q+ckSNQK
wbf7DzZPHyex0jLbE+hEpfcg9yjs+RI9TaoITs89t++7iRzcc8 Bw0ztuy8Kjl7rB
X9i6QkPDCsMhp4yTHMBYqUJl9PFXI4OQjL9sDqLiM1RIGOVYNa 8+RKeQQi5OLW70
Qt3dm4Jfv+Su9xbcyCCrXzp/HQK5jSwqOZb2RYlbBuTC2hsMBCllIboqqf/hKQwo
kxVSddornQfhiS35NA7LZZ6/SONlc+z7tw0bBMPyAekyJNFPC5dTPGSHOeeNtazK
/oALIxvhZuZBxmc6QlIsn3eHtNoEMlQ1sUS2WGLx2OijpFSwyxD E2JIOqjd+8m16
CqYHJA3FZbyoJb1OZea/lTyzOHcJiqssBJJ+iFE9F0KCGfROtaRfcA2k1x/dm0BL
9xMnXhC/ASXgBjZmNe/Olgw1XOY4R4FCp+3ynFNShFtk/fo9bUrCK2UPTDsqRCCV
hjAyCSYvnFMiEe+s4opXOUt2LDUPNVJIIOQlL+zQMtTIGZb2Uv UpLXBucfnarSjf
2bGBErqJi/kKquYlLdoufVEp8sPgIiJj9X8R0KttnTTAl0HHsi61LIyH2orD G+XM
IoNnzEDvAZeb/1qmbA18
=Vd1f
-----END PGP SIGNATURE-----