passing a queue to a function c++ code example
Example: how to have a queue as a parameter in c++
void myFunc(std::queue<MyClass*>& myQueue)
{
//do something
}
void myFunc(std::queue<MyClass*>& myQueue)
{
//do something
}