Some compilers don't like our forward declaration of GenericQueue, move the function declaration to the cpp file