• Member for 10 years, 4 months
  • Last seen this week
Linked list stack implementation
2 votes

By the time I had this code together lots of people have made similar comments. Anyway, here is my attempt at refactoring your code. Main changes: templated type - more flexible. cleanup mechanism -...

View answer