Davy Durham <[EMAIL PROTECTED]> wrote:
> Hey, question.. Just wondering if gcc is supposed to behave this way
now.
> For example, I have a template: [...]
>
> In gcc-3, there was no error until you tried to call f.method2(), but in
> gcc-4 it gives the error when foo is instantiated whether the
Hey, question.. Just wondering if gcc is supposed to behave this way now.
For example, I have a template:
template class foo
{
...
void method1(T a1) {...}
T method2() {...}
...
};
Notice, method1 accepts a parameter of type T and method2 returns a
value of type T.
Well, if foo i