A
Alexander Stippler
Hey all,
what exactly is forbidden/wrong with the following call of a template
member function;
template <typename T>
struct Base
{
template <int N>
void
cio();
};
template <typename T>
struct Derived
: public Base<T>
{
template <int N>
void
cio()
{
Base<T>::cio<N>(); // !!!!!! <--- what's the
problem here?
}
};
int
main()
{
}
Best regards,
Alex
what exactly is forbidden/wrong with the following call of a template
member function;
template <typename T>
struct Base
{
template <int N>
void
cio();
};
template <typename T>
struct Derived
: public Base<T>
{
template <int N>
void
cio()
{
Base<T>::cio<N>(); // !!!!!! <--- what's the
problem here?
}
};
int
main()
{
}
Best regards,
Alex