Reputation: 24685
In VS 2010 C++ when I type where it gets highlighted, why? It is not a keyword so what's the reason?
Thanks.
Upvotes: 1
Views: 172
Reputation: 283793
It's a C++/CLI keyword, for constraining generics: http://blogs.msdn.com/b/hsutter/archive/2003/11/23/53519.aspx
The Visual C++ Editor has to do syntax highlighting for both standard C++ and C++/CLI, and there isn't a separate file extension for C++/CLI code.
Upvotes: 3