0 votes
in C Plus Plus by

What is an Explicit Constructor?

1 Answer

0 votes
by

A conversion constructor is declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. Its purpose is reserved explicitly for construction.

...