Stack.cpp: In member function ‘T* Stack<T>::pop()’: Stack.cpp:53: error: there are no arguments to ‘underflow_error’ that depend on a template parameter, so a declaration of ‘underflow_error’ must be available{
Element
我正在使用Xcode 4编写我的第一个OS X (10.6)应用程序,并遇到以下消息:
malloc:引用计数下溢0x2000b9540,在auto_refcount_underflow_error上中断以进行调试但我没有看到任何选项来告诉调试器“在auto_refcount_underflow_error上中断”。但我希望这是可能的。你能告诉我是怎么做到的吗?以防这一点很重要:错误发生在GCD线程中。