sumScale.cpp: In instantiation of ‘T sumScale(T, T, int) [with T = Point]’: sumScale.cpp:24:26: required from here sumScale.cpp:13:15: error: no match for ‘operator+’ (operand types are ‘Point’ and ‘Point’) return c*(a + b); ~~~^~~~