// Prog: stack_example.cpp #include #include "stack.cpp" int main() { { ifmp::stack s; s.push (1); s.push (3); s.push (2); std::cout << s << "\n"; // 2 3 1 } // s runs out of scope return 0; }