[英]what does /** mean in c++
I was trying to add a block comment in c++, but I made a type-o and wrote /**
instead of /*
. 我试图在c ++中添加一个块注释,但我创建了一个类型-o并写了
/**
而不是/*
。 I noticed that the comment inside got in bold. 我注意到里面的评论以粗体显示。 Does anyone know what it means?
有谁知道这意味着什么?
To expand on the Doxygen and JavaDoc answers. 扩展Doxygen和JavaDoc的答案。
These are the special comment blocks, that your editor may be able to detect. 这些是您的编辑器可能能够检测到的特殊注释块。
/**
* ... Javadoc comment ...
*/
/*!
* ... Qt style comment ...
*/
*intermediary starts are optional *中间开始是可选的
///
/// ... Doxygen supported ...
///
//!
//! ... Doxygen supported ...
//!
Keep in mind, from the C++ language standard, these are all just regular comments. 请记住,从C ++语言标准来看,这些都只是常规注释。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.