This documentation is archived and is not being maintained.

C Run-Time Warning CRT1002

Visual Studio 2008
'explicit' keyword not recognized

The explicit keyword is not allowed in this situation.

To correct this warning

  • Remove the explicit keyword from the constructor.

Show: