In "screenshot.cpp" of the Screenshot Example for Qt5.7, I saw around 15 comment-like lines of the form //! [int]
, like //! [0]
, //! [1]
, etc. They're syntax-highlighted differently than normal comments (highlighted blue instead of green in Qt Creator). I looked around and thought it might have something to do with the "!" mark in Qdoc, and thought it was unique in Qt, but when I tried typing it into Code::Blocks, it was syntax-highlighted differently too.
Does this syntax have any special meaning in C++? Or is it just a normal comment? I tried googling "c plus plus exclamation comment syntax" but I didn't get anything like this.