vendredi 29 novembre 2019

How to show the default constructor in Doxygen generated documentation?

Having a class A:

class A {
public:
    /// @brief constructor taking no param
    A() {}
    /// @brief constructor taking 1 param
    A(int x){}
    /// @brief constructor taking 2 params
    A(int x, int y) {}
};

After generating documentation using Doxygen the "Constructor & Destructor Documentation" section will contain the documentation for constructors A(int x) and A(int x, int y). However not for A().

Is there any flag I can set to force Doxygen to include the constructor for A() in the relevant section of the class documentation?

Aucun commentaire:

Enregistrer un commentaire