0
A
回答
11
1
你可以重载的操作符有:
也许你的意思是分配或等号运营商。
class Object{
public:
///Overload The Assignment Operator
Object& operator=(const Object& objectIn);
///Overload The Equals Operator
bool operator == (const Object & rhs) const;
protected:
private:
};
+0
谢谢你的名单。 – Alex 2012-03-16 06:28:20
通过重新载入,我假设你的意思是过载? – 2012-03-15 19:33:38
是的。谢谢。 – Alex 2012-03-16 06:27:24