Compiler Error C2922

'symbol' : a friend function of a template class must have been previously declared

A class declaration included a reference to a friend function that was not defined. Make sure that a prototype for this function appears before the class declaration, such as in an include file.