home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH09 / A09201.TXT < prev    next >
Encoding:
Text File  |  1993-10-13  |  335 b   |  6 lines

  1. The function call operator is often used to implement iterators.
  2. Iterators are used to iterate through objects of container classes.
  3. If you want to overload the function call operator, you must overload
  4. it as a nonstatic member function.  You will get a compile-time
  5. error if you try to overload it as any other kind of function.
  6.