|
|
От: | о_О | ![]() |
| Дата: | 02.01.12 08:24 | ||
| Оценка: | |||
#include <cstddef>
template <typename T> class Object
{
private:
template <typename U>
bool operator==(const Object<U>& other) const
{
return false;
}
};
int main()
{
Object<int> o1;
Object<long> o2;
(o1 == o2);
return 0;
}