Blitz logo

Blitz Support :

From: Julian C. Cummings (cummings_at_[hidden])
Date: 2003-12-14 17:29:44


Andrius,

The warning means that you should have used the "typename" keyword to
indicate that the expression that follows is a type. You need to use
"typename" whenever you are within some templated code and you are
extracting a template-dependent type using the :: operator.

Regards, Julian C.

> -----Original Message-----
> From: blitz-support-bounces_at_[hidden]
> [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> Andrius Kurtinaitis
> Sent: Sunday, December 14, 2003 7:43 AM
> To: Support list for Blitz++
> Subject: Re: [Blitz-support] functors
>
>
> Hello,
> after all the discussions I decided to try the functors.
> They work, but for binary and ternary functor definitions my compiler
> gives some warnings. Does anybody know what they really mean
> and what to
> do with them?
> The compiler is gcc version 3.3.3 20031206 (prerelease)
> (Debian) The cpp file and the error log are attached. Regards Andrius
>