Can we define and implement the methods of a class template in cpp file?