#ifndef T_VECTOR_H
#include <iostream>
#define T_VECTOR_H
template <typename T>
class T_Vector
{
public:
T_Vector (T* any,int s);
T_Vector (int s);
~T_Vector();
// 一系列运算符重载
T_Vector operator + (T_Vector& a);
T_Vector operator - (T_Vector& a);
T& operator * (T_Vector& a);
void operator = (T_Vector& a);
friend istream& operator >> (istream& input,T_Vector& x);
friend ostream& operator << (ostream& output,const T_Vector& x);
private:
T* pointer;//任意基本类型
int size;
};
#endif