c++ pr11 fix (pedantic flag)
C++ PR12 (templated stack)