A
Armin Zingler
Hi,
I'm using VC++ 2008. This is the code:
namespace TestNamespace
{
generic <class T>
ref class C1
{
};
ref class C2
{
private:
List<TestNamespace::C1^>^ var1;
List<C1^>^ var2; //C2955
};
};
Why does declaration of var1 work whereas var2 produces C2955? I don't see
the difference because "TestNamespace::" is optional in this case. Do I miss
something again?
Armin
I'm using VC++ 2008. This is the code:
namespace TestNamespace
{
generic <class T>
ref class C1
{
};
ref class C2
{
private:
List<TestNamespace::C1^>^ var1;
List<C1^>^ var2; //C2955
};
};
Why does declaration of var1 work whereas var2 produces C2955? I don't see
the difference because "TestNamespace::" is optional in this case. Do I miss
something again?
Armin