我看过一些第三方源代码,其中包含/*M ... M*/样式注释.但'M'代表什么?(也许它与某种版本控制或代码文档系统(如doxygen)一起使用?)
我在opencv中的许多(如果不是全部)源代码文件中看到了它.
您可以点击此处浏览Ititz在GitHub下的opencv存储库 .
哦.我忘了提一下,评论样式似乎只存在于文件的头部,而且它似乎宣布了许可证.
示例:
Run Code Online (Sandbox Code Playgroud)/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, install, // copy or use the software. // // // License Agreement // For Open Source Computer Vision Library [...] // //M*/
注意:与版本控制甚至C++无关
这是纯CR世界和Linux中的跨OS EOL问题(Win |*Nix)和CRLF中非本地EOL ^M(真正的此类字符串)的可视化问题
| Mac GUI
例如用于opengl.hpp(从样品回购):第一线
/*M///////////////////////////////////////////////////////////////////////////////////////
//
Run Code Online (Sandbox Code Playgroud)
是,适当的渲染
/*
///////////////////////////////////////////////////////////////////////////////////////
//
Run Code Online (Sandbox Code Playgroud)
所有的闪光都是core.CRLF作者Git 中丑陋的结果(或完全忽略它)
| 归档时间: |
|
| 查看次数: |
844 次 |
| 最近记录: |