Export (0) Print
Expand All
Expand Minimize

Compiler Error C2213

'modifier' : illegal argument to __based

The argument modifying __based is invalid.

The following sample generates C2213:

// C2213.cpp
// compile with: /c
int i;
int *j;
char __based(i) *p;   // C2213
char __based(j) *p2;   // OK

Community Additions

ADD
Show:
© 2015 Microsoft