home *** CD-ROM | disk | FTP | other *** search
- The subscript operator is a binary operator. The first operand
- appears before the brackets, and the second operand appears
- inside the brackets. If you want to overload the subscript
- operator, you must overload it with a nonstatic member function.
- You will get a compile-time error if you try to overload it with
- another kind of function.
-