|
|
The explicit specifier applies only to constructors. A constructor specified as explicit will be used only when an initialization exactly matches that specified by the constructor. No automatic conversion will take place. Thus, it creates a “non-converting constructor.” (See “Function Specifiers” in Chapter 2.)
|
|