C++ queue pop