C++ Parser problem or I need glasses - template pointer to member parameters

Nathan Sidwell nathan@codesourcery.com
Sun Apr 27 21:02:00 GMT 2003


Gianni Mariani wrote:
> 
> The lines in question are:
> 
>            i_1->A::TFUNC_A<w_a,w_b>( m_b1 );
> 
>            i_1->TFUNC_A<w_a,w_b>( m_b1 ); // compiler trubbell
I think this is a bug. we don't properly find TFUNC_A during the definition of
TFUNC_B. please file a bug report.

BTW
	i_1->template TFUNC_A<....> works too

nathan


-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org




More information about the Gcc mailing list