Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coding standard issue : ) #18

Closed
Andrew-He opened this issue May 7, 2016 · 0 comments
Closed

coding standard issue : ) #18

Andrew-He opened this issue May 7, 2016 · 0 comments

Comments

@Andrew-He
Copy link

OOP09-CPP. Ensure that single-argument constructors are marked "explicit"

A single-argument constructor may be used as an implicit conversion function, unless it is marked "explicit" (see [ISO/IEC 14882-2003] Section 12.3.1, "Conversion by constructor"). Such implicit conversions may be unexpected, and lead to undesirable behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant