M
Miroslav Novak
Hi,
I can't compile the following code. Does anyone know where is the problem?
Thank you in advance,
Mirek.
code:
----------------
template<class T>
struct CA
{
struct CB
{
T* z;
};
};
template<class T>
void fun(typename CA<T>::CB x) {}; // line 56
void test()
{
CA<int>::CB x;
fun(x); // line 61
}
errors:
I can't compile the following code. Does anyone know where is the problem?
Thank you in advance,
Mirek.
code:
----------------
template<class T>
struct CA
{
struct CB
{
T* z;
};
};
template<class T>
void fun(typename CA<T>::CB x) {}; // line 56
void test()
{
CA<int>::CB x;
fun(x); // line 61
}
errors: