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
+12
View File
@@ -0,0 +1,12 @@
template<class T>
class Stack : private DLList<T> {
public :
// Default-Konstruktoren + Zuweisung OK
bool empty () {return DLList<T>::empty();}
void push (T t) {
this->insert(DLList<T>::begin(),t);
}
T top () {return *DLList<T>::begin();}
void pop () {this->erase(DLList<T>::begin());}
} ;