| shallow copy |
| List of: | Glossary Items | |
| Subjects: | C++ Interface | |
| Contents: | Glossary | |
| A shallow copy copies an object, but instead of copying all the other objects it references (a deep copy) it references the same objects that the original uses. A shallow copy stores only the first instance of the item in memory, and increments a reference count for each copy. | |||||