Standard C++ issue: single argument constructors are almost always meant to be marked "explicit" in order to avoid unintended implicit conversions (https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=3416). Any static analyser should pick this up too.
Standard C++ issue: single argument constructors are almost always meant to be marked "explicit" in order to avoid unintended implicit conversions (https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=3416). Any static analyser should pick this up too.