home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wupost!uwm.edu!rutgers!cmcl2!acf5!checker
- From: checker@acf5.NYU.EDU (checker)
- Newsgroups: comp.lang.c++
- Subject: Re: Inherited nested classes?
- Message-ID: <1894@acf5.NYU.EDU>
- Date: 30 Aug 92 18:23:57 GMT
- References: <1992Aug29.160423.16617@genghis.borland.com> <4902@holden.lulea.trab.se>
- Organization: New York University
- Lines: 20
-
- jbn@lulea.trab.se (Johan Bengtsson) writes:
- >Are private nested types useful at all, given the current language definition?
-
- Huh? How else would you have the access control work? Of course they
- are useful:
-
- class list
- {
- public:
- // ...
- private:
- class list_node
- {
- // ...
- }
-
- list_node *pHead;
- };
-
- Chris
-