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

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