home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH08 / A08131.TXT < prev    next >
Encoding:
Text File  |  1993-09-15  |  457 b   |  8 lines

  1. Here, the definition of the structure DMY is nested inside the
  2. definition of the class Date.  The structure is in the scope of
  3. the Date class and therefore the name "DMY" does not appear in the
  4. global name space.  One name space holds all of the global
  5. identifiers in a program.  Nesting classes is one technique for
  6. reducing entries in the name space.  In addition, a class name can
  7. be reused for classes nested in different enclosing class scopes.
  8.