C ++: how to check if all single argument constructors are explicit

Is there a program that can scan entire projects and report all designers eligible for implicit conversion?

Thanks!

+4
source share
1 answer

Cppcheck can do this, but I'm not sure. If he does not do it now, it will be an ideal basis for creating such a function.

(Also, if you are not already using Cppcheck, get started now! Disclaimer: I am the author.)

+3
source

All Articles