C++相談室 Part3
■ このスレッドは過去ログ倉庫に格納されています
0758デフォルトの名無しさん
NGNGこれでは駄目なの?
template<class T> class A {
friend bool operator==(const A<T>& x, const A<T>& y);
};
template<class T> bool operator==(const A<T>& x, const A<T>& y)
{
return true;
}
int main()
{
return 0;
}
■ このスレッドは過去ログ倉庫に格納されています