#ifndef ARRAY_H
#define ARRAY_H
#include <iostream>
using namespace std;
template<typename elemtype> class array {
public:
//构造函数集合
array ( int sz = MIN );
array ( const array<elemtype>& );
array( const elemtype*,const int );
//运算符重载集合
const bool operator ==( const array<elemtype>& ) const;
const bool operator !=( const array<elemtype>& ) const;
const array operator =( const array<elemtype>& );
elemtype &operator [] ( const int index );
//内置方法
const int size() const ;
const elemtype min() const ;
const elemtype max() const ;
private:
//私有函数
void array_init( const elemtype *ap,const int sz );//初始化
//私有数据
elemtype *ia;//数组头指针
int