[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiler bug
From: |
Alexandre Oliva |
Subject: |
Re: compiler bug |
Date: |
17 Jan 2001 01:31:09 -0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake) |
On Jan 16, 2001, Artak Avetyan <address@hidden> wrote:
> // Here I do not agree with declaration (using of keyword TEMPLATE),
> because
> // " TYPE " I already declared in class. It must be -
> // friend TYPE Multiply(Temp<TYPE> temp, unsigned long nLong);
> // But compiler wants so. Whatever, the problem is not here !!!
> template <TYPE> friend TYPE Multiply(Temp<TYPE> temp, unsigned long
> nLong);
You're missing a prior declaration of the template function and the
template brackets after the template function name.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
- compiler bug, Artak Avetyan, 2001/01/16
- Re: compiler bug,
Alexandre Oliva <=