Compiler Error C3159
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Error C3159

Error Message

'pointer' : array of pointers to value type cannot be declared

An array of pointers to a value type cannot be declared.

C3159 is only reachable using /clr:oldSyntax.

The following sample generates C3159:

// C3159.cpp
// compile with: /clr:oldSyntax
#using <mscorlib.dll>

__value struct B {

void f( B*[] );   // C3159

int main() {
© 2016 Microsoft