我有一个头文件c++,其中函数的声明具有以“ !”感叹号开头的块注释。
例子
\nclass test{\n public:\n /*! @fn test::test()\n @brief The basic constructor, which initializes the _test handle.\n */\n test();\n\n /*! @fn test::upload(std::string url)\n @brief A function to execute a http POST request with the given url and image.\n\n @param[in] url The url we are POSTing to\n @return The response of the server\n */\n std::string upload(std::string url);\n}\nRun Code Online (Sandbox Code Playgroud)\n此外,它还会更改 VSCode 中注释的颜色,如下所示:
\n\n这些注释开头的感叹号的目的是什么?
\n