i am playing around with class template argument deduction. There is no problem creating an object of Class A in the main function, but when i try to create object of Class