摘要: #include // operator Type() 类型操作符重载 // operator int() // operator double() // ... ////////////////////////////////////////////////////////// class Rectangle { public: #ifdef Want_compiler_to_add_... 阅读全文
posted @ 2019-12-02 19:33 路边的十元钱硬币 阅读(239) 评论(0) 推荐(0) 编辑
摘要: #include // operator Type() 类型操作符重载 // operator int() // operator double() // ... ////////////////////////////////////////////////////////// class Rectangle { public: Rectangle(const int w, cons... 阅读全文
posted @ 2019-12-02 19:22 路边的十元钱硬币 阅读(744) 评论(0) 推荐(0) 编辑