2008/10/10 Peter A. Felvegi <[EMAIL PROTECTED]>
>
> Hello All,
>
> I've run into this:
>
> 8<8<8<
> template
> class B
> {
> protected:
>static const int i = 42;
> };
>
> template
> class D : protected B
> {
> public:
>D(int n_ = B::i); // line 12
> };
> 8<8<
Hello All,
I've run into this:
8<8<8<
template
class B
{
protected:
static const int i = 42;
};
template
class D : protected B
{
public:
D(int n_ = B::i); // line 12
};
8<8<8<
gcc-4.1 and 4.3 give the same error message:
t.cpp:12: error: expecte