次のエラーが発生する次の C++ コードがあります。
#include <iostream>
using namespace std;
int main()
{
MyPrinter(100);
MyPrinter(100.90);
getchar();
return 0;
}
template <class T>
void MyPrinter(T arr)
{
cout<<"Value is: " + arr;
}
ここで何が欠けていますか?