About Clang-Tidy inspection
Answered
Point is not a constructor that is callable with a single argument but Clang-Tidy marks it should be modified.
What is the condition that this warning pops up?
Please sign in to leave a comment.
Hi! Please provide a standalone code sample illustrating the issue.
Since
has default values for both parameters, it can be called with one argument provided and therefore it can be used for implicit conversions. I mean, technically the warning is correct. Don't you agree with it?