Re: [Dev-C++] templates in C++ : precisions
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2003-01-12 16:05:17
|
This is non-sense (at least). Did you correct B() as i suggested?=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D -------Original Message-------=0D =0D From: erwan ancel=0D Date: =CA=F5=F1=E9=E1=EA=DE, 12 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 5:04:= 32 =EC=EC=0D To: Dev-C++ Mailing List=0D Subject: Re: [Dev-C++] templates in C++ : precisions=0D =0D >>The typename has exactly the same effect. They are both equivalents for the definition of template arguments.=0D =0D With gcc, they don't. I did some testing: typename compiles, and class do= esn t. Perhaps gcc tries to compile something more when it knows the template parameter is a class...=0D =0D =0D =0D =0D =20 |