 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Constructors
taking a single argument define a conversion
|
|
from
the type of its argument to the type of its class.
|
|
|
| • |
Such
conversion functions can be used either implicitly or
|
|
|
explicitly.
|
|
|
| • |
When
used implicitly, at most one implicit built-in
|
|
|
promotion
or conversion will be applied to the argument
|
|
|
of
the constructor. name(char* = "");
|
|
|
//implicitly convert char* to name.
|
|
|
name obj; obj = "sue smith";
|
|