home *** CD-ROM | disk | FTP | other *** search
- You can overload the postfix increment operator by declaring a
- nonmember "operator++()" with two arguments. The first argument
- must be a user-defined type and the second must be an integer.
- You can also declare a member function operator "operator++()"
- with a single integer argument. The compiler uses the int
- argument to distinguish between the prefix and postfix increment
- operators.
-