我正在处理C++中的堆栈,并且我已经创建了自己的堆栈类,它继承了我创建的一个链表类。但是,当我调用stack类的一个函数时,我得到一个错误,指出该函数没有在作用域中声明。以下是错误消息: Stack.h|15|error: 'insertAtFront' was not declared in this scope, and no declarations were foundby argument-dependent lookup at the point of instantiation [-fpe