Compiler Error C3239
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Error C3239.
type' : pointer to interior/pin pointer is disallowed by the common language runtime
The compiler encountered an invalid type.
The following sample generates C3229:
// C3239.cpp
// compile with: /clr
int main() {
interior_ptr<int>* pip0; // C3239
// OK
int * pip1;
interior_ptr<int> pip2;
int ** pip;
}
Show: