Chapter 14: Problem 18
The class Stuff has both a copy constructor and an overloaded = operator. Assume that blob and clump are both instances of the stuff class. For each statement below, indicate whether the copy constructor or the overloaded = operator will be called. \\[ \begin{array}{l} \text { Stuff } b \operatorname{lob}=\text { clump } \\ \text { clump }=\text { blob; } \end{array} \\] blob. operator=(clump) ; showValues (blob); // blob is passed by value.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.