Operator +
This is an ordinary function.
Bag operator + (const Bag& b1, const Bag& b2)
Key statements:
answer += b1; answer += b2; return answer;
What is the type of variable answer?
Previous slide
Next slide
Back to first slide
View graphic version