typedef in template class with Doxygen (C++)

后端 未结 6 1745
無奈伤痛
無奈伤痛 2021-02-15 05:51

My question is related to how to comment typedef in template class with Doxygen. I will give an example to illustrate my question:

 namespace fundamental
  {
            


        
6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-15 06:30

    In the manual I read the following:

    Let's repeat that, because it is often overlooked: to document global objects (functions, typedefs, enum, macros, etc), you must document the file in which they are defined. In other words, there must at least be a

    /*! \file */ or a /** @file */ line in this file.

提交回复
热议问题