Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to document constructors

Help
FriendFX
2008-11-03
2013-04-24
  • FriendFX
    FriendFX
    2008-11-03

    Hello,

    I have a class TMyClass with two overloaded constructors Create(a, b: string) and Create(a: string).

    When I run doxygen with Pas2Dox with this class, it outputs warnings like this:

    Warning: documented funtion 'TMyClass::TMyClass' was not declared or defined.
    Warning: documented funtion 'TMyClass::TMyClass' was not declared or defined.

    It seems to me like the identifier "Create" in the class declaration is not correctly translated into the C++ style TMyClass::TMyClass.

    Is this a bug? Or what can I do to get my constructors documented?

    Thanks!