home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!swrinde!sdd.hp.com!scd.hp.com!hplextra!hpcc05!hpcuhb!hpcuhe!brians
- From: brians@hpcuhe.cup.hp.com (Brian Sullivan)
- Newsgroups: comp.lang.c++
- Subject: Re: How do I write a typedef to go with my template class?
- Message-ID: <33820006@hpcuhe.cup.hp.com>
- Date: 9 Sep 92 03:33:13 GMT
- References: <ghawkins.714856261@unix1.tcd.ie>
- Organization: Hewlett Packard, Cupertino
- Lines: 8
-
- I have also had problems with typedef's inside of a template class.
- I have been using the lastest cfront based compiler cfront 3.1
- which supports template classes, but it won't allow any typedef's
- involving a generic type (the type passed to the template, X in your
- example). I get a not implemented message. I then have to give
- a non-typedef declaration every time that I want to pass a function type
- to a template class. It is very ugly, and I hope that USL implements
- this feature before C++ 4.0.
-