Stack implemented in C++11