No, templates in C++ do not contribute to the size of the resulting executable. The compiler generates the necessary code for each instantiation of the template, ensuring efficient memory usage.