The C ++ standard does not say anything about heap, and also about compaction. However, this requires that if you take the address of the object, this address remains unchanged throughout the entire life cycle of the object.
++ - . "", , -, , .
, , , ++ , , .
, . , ( ++ , , -, Flash), , , .