restructure and add ipi texs

This commit is contained in:
2019-11-06 18:24:04 +01:00
parent e21da561fc
commit 8fd8d2a485
155 changed files with 129 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
template<class T>
class Queue : public DLList<T> {
public :
// Default-Konstruktoren + Zuweisung OK
bool empty () {
return DLList<T>::empty();
}
T front () {
return *DLList<T>::begin();
}
T back () {
return *DLList<T>::rbegin();
}
void push (T t) {
this->insert(DLList<T>::end(),t);
}
void pop () {
this->erase(DLList<T>::begin());
}
} ;