<<< Extended singleton code | Index | Disabling copy solution >>> |
Problem:
A class has a large amount of dynamically allocated data.
We do not want copies of such objects being made, because:
there is no reason to have duplicate copies to begin with;
making copies would be a performance issue,
and a memory issue.
<<< Extended singleton code | Index | Disabling copy solution >>> |