摘要: #include <iostream>using namespace std;template <typename T>class A {public: T x, y;public: A<T> operator-(const A<T> &t); template<typename T> friend A<T> operator+(const A<T> &x, const A<T> &y);public: A(); A(T t);};template <typename 阅读全文
posted @ 2012-11-27 15:53 litstrong 阅读(131) 评论(0) 推荐(0)