I am looking for a queue with multiple values but the default std::queue supports only two values like
queue<int, int> myqueue;
I have eight elements and want the same functionality of queue (PUSH, POP, etc.) like this
queue<int, int, int, int, int, int, int, int> myqueue;
Simply store
std::vectorin the queue for instance. Or if the values have different meaning, simply create a custom structure and store it in the queue instead. By the waystd::queuestores a single value meaning each element is a single value(if that is what you meant).