If I replace the calls to the print?() functions with:
1 2 3 4
t.print1();
t.print2();
t.print3();
t.print4();
The executable size stays the same.
Shouldn't the compiler NOT include the code for the unused functions in the first case?
I was just wondering about this especially regarding the standard libraries like the string class, if all the find, convert, etc. functions are included in the binary even if they're not used....