Skip to content

Comments

CD2 edited this page Feb 8, 2023 · 2 revisions

Ordinary comments are the same as in C++.

// comment

/*

comment

*/

/?/* makes constant conditional.

/?/* false:

// comment here

/* true:

// no comments here

//* false:

// Falls through with //* so it's not a comment

// (However, it is necessary to write the condition in one line.

// In other words, after the condition is satisfied, it is just read as a normal comment)

/* true:

// comment here

/*?*/ // ends with /*?*/

Clone this wiki locally