I found this while googling for something
http://msdn.microsoft.com/en-us/library/ms177203(VS.80).aspx

I tried it (with g++) and it seems to be a syntax error - is this like something specific to Visual Studio or something?

Dave

It's a feature of C++/CLI, so yes, it's pretty much restricted to Visual Studio.