 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Neither
the copy constructor nor the assignment operator
|
|
|
are
inherited.
|
|
|
| • |
For a
derived class, the implicitly supplied copy
|
|
|
constructor
and assignment operator both implicitly call
|
|
|
the
base class copy constructor and assignment operators
|
|
|
before
performing their memberwise copy operations. This
|
|
ensures
that the base class portion of the derived class is
|
|
|
properly
created or initialized before the derived class
|
|
|
portion.
|
|
|
| • |
The
base class copy constructor and assignment operator
|
|
|
can
be either implicitly defined or explicitly implemented
|
|
|
as
part of the base class.
|
|