Compiler Error C3697
Collapse the table of content
Expand the table of content

Compiler Error C3697

'qualifier' : cannot use this qualifier on '^'

The tracking handle (^) was applied to a qualifier for which it was not designed.

The following sample generates C3697:

// C3697.cpp
// compile with: /clr
using namespace System;
int main() {
   String ^__restrict s;   // C3697
   String ^ s2;   // OK

Community Additions

© 2015 Microsoft