Compiler Error C2886 (Windows CE 5.0)

Send Feedback

'class::identifier' : symbol cannot be used in a member using-declaration

A using declaration uses a symbol, such a namespace name. A using declaration is for declaring base class members.

The following example shows how this error might occur.

namespace Z {
   int i;
}

class A {
   using Z::i; // error c2886, Z::i is a namespace
};

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.