home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18519 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  951 b 

  1. Path: sparky!uunet!spool.mu.edu!think.com!rpi!bu.edu!att!att!allegra!alice!ark
  2. From: ark@alice.att.com (Andrew Koenig)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: template disappointments ... (suggestions?)
  5. Message-ID: <24508@alice.att.com>
  6. Date: 29 Dec 92 22:18:08 GMT
  7. References: <DSCHIEB.92Dec29133556@muse.cv.nrao.edu>
  8. Reply-To: ark@alice.UUCP ()
  9. Distribution: comp
  10. Organization: AT&T Bell Laboratories, Murray Hill NJ
  11. Lines: 14
  12.  
  13. In article <DSCHIEB.92Dec29133556@muse.cv.nrao.edu> dschieb@muse.cv.nrao.edu (Darrell Schiebel) writes:
  14.  
  15. >     (2) but worse than this minor item, it seems as though it is 
  16. >         impossible to compose templates from templates:
  17. >         template<class t> class vector {};
  18. >         template<class t> class list {};
  19.  
  20. >         list<vector<int>> list_vec_int;
  21.  
  22. Huh?? This works fine -- just remember to put a space between the
  23. two > characters so the >> won't be taken for a shift-right symbol.
  24. -- 
  25.                 --Andrew Koenig
  26.                   ark@europa.att.com
  27.