Will doxygen use base class documents if the subclass does not provide its own?

If I have a class:

class Base { public: ///does something virtual void method()=0; }; class Child : public Base { public: virtual void method(); }; 

What will doxygen do for Child::method ? Reuse basic documents or leave them blank?

+6
source share
1 answer

It depends on the configuration setting of INHERIT_DOCS. When INHERIT_DOCS is set to YES, the documentation will be copied, if it is set to NO, the derived method will remain undocumented.

+9
source

Source: https://habr.com/ru/post/891718/


All Articles