error: expected '=', ',', ';', 'asm' or '__attribute__' before '==' token
运算符重载
boolean_t operator==(thread_t& thd_a, thread_t& thd_b)
{
return (&thd_a == &thd_b);
}
error: expected '=', ',', ';', 'asm' or '__attribute__' before '==' token
函数模板
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template<class TYPE>
static inline void list_free(list_t* plst);
代码明明没问题啊,这是怎么了?