C ++ comment style: / * M ... M * /, what does "M" mean?

I saw some third-party source code with comments in the style of /*M ... M*/ . But what does "M" mean? (Perhaps it is used with some kind of version control or code documentation system (e.g. doxygen)?)

I saw this in many (if not all) source files in opencv.

You can view the Itseez opencv repository under GitHub by clicking here .

A. I forget to mention, the comment style seems to exist only in the main file, and it seems to be announcing the license.

An example :

 /*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*/ 
+5
source share
1 answer

Note: Does not correlate with version control and even with C ++

This is the Cross-OS EOL problem (Win | * Nix) and the visualization of the non-native EOL ^M (indeed such a line) in CRLF in a world with pure CR and Linux | Mac GUI

Example for opengl.hpp (from your sample repo): first lines

 /*M/////////////////////////////////////////////////////////////////////////////////////// // 

with proper rendering

 /* /////////////////////////////////////////////////////////////////////////////////////// // 

and all glitches are the result of the ugly core.CRLF configuration in author Git (or ignored altogether)

+7
source

All Articles