unaryOperators operator++ (const unaryOperators &one);
如果这个在类内声明,我应该会得到错误信息"too many arguments"等等,但是我得到的错误信息是:
error: postfix ‘unaryOperators unaryOperators::operator++(const unaryOperators&)’ must take ‘int’ as its argument
为什么必须以‘int’作为参数?这是什么意思?
GCC Linux