Why is where highlighted?

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

Answers (1)

Ben Voigt
Ben Voigt

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

Related Questions