Will the compiler exclude unused template code?

Viewed 971

When you use a template with numerous methods (like vector) and compile your code, will the compiler discard the code from the unused methods?

4 Answers
Related