Added cpp template