C Run-Time Warning CRT1002

'explicit' keyword not recognized

The explicit keyword is not allowed in this situation.

To correct this warning

  • Remove the explicit keyword from the constructor.

See Also

Reference

explicit (C+)

Other Resources

C Run-Time Errors R6002 through R6035 and Warnings CRT1001 through CRT1006