Question 17
Back to Exercise
What is "code bloat" in the context of templates?
- A Slow run-time performance
- B Larger binaries because each distinct instantiation generates its own copy of the code Correct
- C Unused variables
- D Long template names
Correct Answer: Option B
vector<int>, vector<long> and vector<double> are three separate classes.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!