From: "Paul Lutus" Newsgroups: comp.os.msdos.djgpp,comp.lang.c++ References: <62C1FE9FAA1E4584 DOT 06111F9979572068 DOT FEC73EFB7A77FD10 AT lp DOT airnews DOT net> <8a7pnb$1pc$1 AT news DOT lth DOT se> Subject: Re: explicit instantiation Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: <2NRx4.11412$DF2.1617088@tw12.nn.bcandid.com> NNTP-Posting-Host: 198.133.237.85 X-Trace: tw12.nn.bcandid.com 952625342 198.133.237.85 (Thu, 09 Mar 2000 11:09:02 MST) NNTP-Posting-Date: Thu, 09 Mar 2000 11:09:02 MST Organization: bCandid - Powering the world's discussions - http://bCandid.com Date: Thu, 09 Mar 2000 18:09:02 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Does "class" instead of "typename" work with non-class primitive > types such as int and float? > If you are speaking about template declarations, yes. Try it! -- Paul Lutus www.arachnoid.com Damian Yerrick wrote in message news:lhafcs4o4kfmo0nrthkj9t0gleokh6cj4v AT 4ax DOT com... > (lang question: lang group added) > > On Thu, 9 Mar 2000 10:08:52 +0100, "Niklas Pettersson" > wrote: > > >Maybe you should consider using class instead of typename. > >It's shorter and a more common way for C++ programmers to express > >themselfs. > > Does "class" instead of "typename" work with non-class primitive > types such as int and float? > > -- > Damian Yerrick http://yerricde.tripod.com/ > Comment on story ideas: http://home1.gte.net/frodo/quickjot.html > AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ > View full sig: http://www.rose-hulman.edu/~yerricde/sig.html > > This is McAfee VirusScan. Add these two lines to your .sig to > prevent the spread of .sig viruses. http://www.mcafee.com/