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 -- http://llvm.org/doxygen/

Eli

Hi Martin,

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

Cheers,
  Roel

Hi,

On top of the other answer, here is the LLVM specific convention for formatting: http://llvm.org/docs/CodingStandards.html#doxygen-use-in-documentation-comments

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

MartinO