SyntaxFix
Write A Post
Hire A Developer
Questions
The explicit keyword makes a conversion constructor to non-conversion constructor. As a result, the code is less error prone.
explicit