~satchmo/libvmm#57: 
Should Address suppress copying?

C.67: A polymorphic class should suppress copying.

A polymorphic class is a class that defines or inherits at least one virtual function. It is likely that it will be used as a base class for other derived classes with polymorphic behavior. If it is accidentally passed by value, with the implicitly generated copy constructor and assignment, we risk slicing: only the base portion of a derived object will be copied, and the polymorphic behavior will be corrupted.

Status
RESOLVED INVALID
Submitter
~satchmo
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
No labels applied.

~satchmo 3 years ago

Can't slice Address if ya can't create one in the first place big brain.

~satchmo REPORTED INVALID 3 years ago

Register here or Log in to comment, or comment via email.