I have heard about code bloats in context of C++ templates. I know that is not the case with modern C++ compilers. But, I want to construct an example and convince myself.
The generated code will be exactly the same, since the code in both files is exactly the same. You can disassemble the code to check it if you want.