operator++()和operator++(int) 区别

来源:互联网 发布:国培网络研修收获 编辑:程序博客网 时间:2024/04/28 23:45
++i; // 调用 i.operator++();
i++; // 调用 i.operator++(0);