45 for (i = 0; i < 20; i++)
51 cout << stack.
pop() <<
" ";
53 catch (std::underflow_error)
55 cout <<
"Stack has been emptied" <<
endl;
Dynamic stack of elements of generic type T based on a singly linked list.
T pop()
Remove and return the top item of the stack.
T & push(const T &data)
Push an item by copy onto the top of the stack.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Main namespace for Aleph-w library functions.
Dynamic stack implementation based on linked lists.