c++ template class problem

Toshinao Ishii ici@qua.crl.melco.co.jp
Thu Sep 24 03:26:00 GMT 1998


Hi. 

: On which platform?  I can't reproduce this problem with the latest
: snapshot of egcs on sparc-sun-solaris2.5.

Thank you for reply. I forgot to write it. It is Linux/Alpha (alphaev5-linux).

: BTW, you must declare the template function before you refer to it, as
: suggested in the FAQ (the answer for friend templates was recently
: updated; please take a look at it).

I added one line of declaration as the following and tried. But, result
is same as before. Is the way of delclaration wrong ?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
$B@P0f=SD>(B   Toshinao Ishii

   Advanced Technology R&D Center (ATC)   $B;0I)EE5!(B($B3t(B)
   Mitsubishi Electric Corporation        $B@hC


More information about the Gcc mailing list