std::stack version