感觉你代码中的tmp并不是含有int func(const char* str,int& value)这个函数的类,请检查一下tmp是否是class A实例的指针。更多关于[C Error] no matching function for call to 'toupper(__gnu_cxx::__alloc_trait的问题>>
2010年10月11日 - striter1.cpp:13: error: no matching function for call to ‘transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_t...