Instantiating templates The compiler instantiates the template This creates a new function int add(int t1, int t2) { int result = t1 + t2; return result; } To do this, compiler needs to know the function's code