Question about comment conventions

This is a pretty trivial question, but why are triple-slash comments (‘///’) sometime used instead of double-slash comments (‘//’). I’m sure that there is a good reason and a convention involved, but I do not know what it is.

Thanks, MartinO

For doxygen --


Hi Martin,

I guess that this is for documentation purposes and has to do with Doxygen parsing things after ///.



On top of the other answer, here is the LLVM specific convention for formatting:

Ahh, thanks. That makes sense - I’d forgotten about the Doxygen connection.