I know there was some recent fixes on C++20 templated lambda, so this may already be fixed. But that seems a slightly different use case, so I prefer to report it as well.
This is a weird case of the lambda having template specifier that are not deduced from the parameter call. So one has to explicitly call operator() with the template parameters.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, a couple years ago. But the account creation could be simpler than having to send a password hash to the maintainer so I gave up. I'll look into creating an account again. Thanks for following with the bug reports so far :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know there was some recent fixes on C++20 templated lambda, so this may already be fixed. But that seems a slightly different use case, so I prefer to report it as well.
This is a weird case of the lambda having template specifier that are not deduced from the parameter call. So one has to explicitly call
operator()
with the template parameters.https://trac.cppcheck.net/ticket/11840
Have you considered getting a trac account?
Yes, a couple years ago. But the account creation could be simpler than having to send a password hash to the maintainer so I gave up. I'll look into creating an account again. Thanks for following with the bug reports so far :-)