0

'thread' and 'function' are STL class names like 'vector', 'list', etc.

Yet 'thread' and 'function' are not colored in the text editor of Visual Studio 2012, while 'vector' and 'list' are normal.

Why and how to fix?

PS:

'std::thread' is fine; but 'thread' (without the prefix std::) is still not colored.

Also, Visual AssistX is enabled. I've tried to disable Visual AssistX, but no effect.

ildjarn
  • 62,044
  • 9
  • 127
  • 211
xmllmx
  • 39,765
  • 26
  • 162
  • 323

1 Answers1

0

std::thread is colored in my environment. This is decided by your environment settings, you can import such or make your own under Options->Environment->Fonts and Colors in VS 2012. There are several themes for free online.