求教c++的内联函数问题 急求啊!!!求高手指点!!!
class Account{
。。。
std::ostream & operator<<(std::ostream &out);
}
inline std::ostream & Account::operator<<{
account.show(out);
return out;
}
error C2433: '<<' : 'inline' not permitted on data declarations
fatal error C1903: unable to recover from previous error(s); stopping compilation
难道是内联函数不能重载运算符?