git-svn-id: svn://db.shs.com.ru/pip@816 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -437,9 +437,9 @@ class PIP_EXPORT PIVector: public vector<T, Allocator> {
|
||||
typedef vector<T, Allocator> _stlc;
|
||||
public:
|
||||
|
||||
PIVector() {piMonitor.containers++;}
|
||||
PIVector(uint size, const T & value = T()) {piMonitor.containers++; _stlc::resize(size, value);}
|
||||
~PIVector() {piMonitor.containers--;}
|
||||
PIVector() {}
|
||||
PIVector(uint size, const T & value = T()) {_stlc::resize(size, value);}
|
||||
~PIVector() {}
|
||||
|
||||
const T & at(uint index) const {return (*this)[index];}
|
||||
T & at(uint index) {return (*this)[index];}
|
||||
|
||||
Reference in New Issue
Block a user