I\'m trying to instantiate a template class inside one of its functions, but for some reason I am unable to do so. It tells gives me the error and points to the beginning of