I am taking a class on C++. In our text is says:
Memory that an object allocates at run-time represents a resource of that object's class.
Given that random values, to my knowledge, are not determined until runtime, are these members stored in dynamic memory and consequently resources?
Do they then require a copy constructor/assignment operator?
Aucun commentaire:
Enregistrer un commentaire