After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679740 - std::function default argument causes parameter to be not found
std::function default argument causes parameter to be not found
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.0
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-07-11 10:39 UTC by Philipp
Modified: 2012-08-11 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philipp 2012-07-11 10:39:04 UTC
The following code:

/// \brief Test.
class Test
{
public:
    typedef std::function<void (int)> FuncTypeA;
    typedef std::function<void ()> FuncTypeB;

    /// \brief Constructor.
    ///
    /// \param a The FuncTypeA to process.
    /// \param b The FuncTypeB to process.
    Test(FuncTypeA a, FuncTypeB b = [] {})
    {}
};

causes:

warning : argument 'b' of command @param is not found in the argument list of neo::Test::Test(FuncTypeA a)
Comment 1 Dimitri van Heesch 2012-07-19 14:05:35 UTC
Confirmed. Should be supported in the next subversion update.
Comment 2 Dimitri van Heesch 2012-08-11 13:18:28 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.2. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.