Export (0) Print
Expand All
Expand Minimize

Compiler Error C2720

'identifier' : 'specifier' storage-class specifier illegal on members

The storage class cannot be used on class members.

The following sample generates C2720

// C2720.cpp
struct S {
   static int i;
};
static S::i;   // C2720
Show:
© 2014 Microsoft