Answers for "how to have a queue as a parameter in c++"

C++
0

how to have a queue as a parameter in c++

void myFunc(std::queue<MyClass*>& myQueue)
{
   //do something
}
Posted by: Guest on March-03-2020

Code answers related to "how to have a queue as a parameter in c++"

Browse Popular Code Answers by Language