This documentation is archived and is not being maintained.

Compiler Error C3210

'type' : access declaration can only be applied to a base class member

A using declaration was specified incorrectly.

The following sample generates C3210:

// C3210.cpp
template <class T>
struct A
{
protected:
   int i;
};

template <class T>
struct B: A<T>
{
   using A::i;   // C3210 A<int> is not a valid base
   // try the following line instead
   // using A<T>::i;
};
Show: