wrote:
> On Mar 6, 3:01 pm, pauljlucas.removet...@removethistoo.mac.com (Paul
> J. Lucas) wrote:
>> Given:
>>
>> template<typename T,typename U> class C { };
>> template<typename T> typedef C<T,int> C2;
>>
>> I get:
>>
>> test.cpp:2: error: template declaration of 'typedef'
>>
>> Are template typedefs still not supported in g++ 4.1.2?
>>
>> - Paul
>
> Maybe what you wanted is this?
>
> template<typename T,typename U> class C { };
> typedef C<T,int> C2;
'T' seems undefined here. What does your compiler say?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask