home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!think.com!rpi!bu.edu!att!att!allegra!alice!ark
- From: ark@alice.att.com (Andrew Koenig)
- Newsgroups: comp.lang.c++
- Subject: Re: template disappointments ... (suggestions?)
- Message-ID: <24508@alice.att.com>
- Date: 29 Dec 92 22:18:08 GMT
- References: <DSCHIEB.92Dec29133556@muse.cv.nrao.edu>
- Reply-To: ark@alice.UUCP ()
- Distribution: comp
- Organization: AT&T Bell Laboratories, Murray Hill NJ
- Lines: 14
-
- In article <DSCHIEB.92Dec29133556@muse.cv.nrao.edu> dschieb@muse.cv.nrao.edu (Darrell Schiebel) writes:
-
- > (2) but worse than this minor item, it seems as though it is
- > impossible to compose templates from templates:
- > template<class t> class vector {};
- > template<class t> class list {};
-
- > list<vector<int>> list_vec_int;
-
- Huh?? This works fine -- just remember to put a space between the
- two > characters so the >> won't be taken for a shift-right symbol.
- --
- --Andrew Koenig
- ark@europa.att.com
-