Just out of curiosity, would a STL stack use a linked list or something of that sort, or is there a better way of constructing a stack?