摘要:
#include // 标准模板库当中Vector的简化版本#includeusing namespace std;templateclass array{public: array(int size); size_t getVectorSize() { return _data.size(); } size_t getSize() { return _size; }public: vector _data; size_t _size;};templateclass Vector{ T *start,*finish,*end;public: Vector():start(0... 阅读全文