PIDeque optimize and bugfix

This commit is contained in:
Бычков Андрей
2022-08-22 15:59:25 +03:00
parent 2550f76376
commit 49e553c551
3 changed files with 146 additions and 96 deletions

View File

@@ -38,7 +38,7 @@ public:
T & top() {return PIVector<T>::back();}
const T & top() const {return PIVector<T>::back();}
PIVector<T> toVector() {return PIVector<T>(*this);}
PIVector<T> toDeque() {return PIDeque<T>(PIVector<T>::data(), PIVector<T>::size());}
PIDeque<T> toDeque() {return PIDeque<T>(PIVector<T>::data(), PIVector<T>::size());}
};
#endif // PISTACK_H