Compiler Error C3697
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 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
}
Show: