Re: gcc 4 can not resolve member var derived from base class in atemplate class
so this is a standard, not a bug of gcc? but vc9 can compile it.
On Jul 2, 2:00am, Juha Nieminen <nos...@thanks.invalid> wrote:
> steve yee wrote:
> > test.cpp: In member function ‘void signal0<mt_policy>::aaa()’:
> > test.cpp:17: error: ‘a’ was not declared in this scope
>
> You have to add this to your signal0 class:
>
> using Base<mt_policy>::a;
>
> I don't remember now why this was standardized like that.
|