home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH12 / A12156.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-11-01  |  272.4 KB  |  1 channel  |  11,025 sample rate  |  25 seconds
Transcription: If you use a class object in a situation where another type is expected and there is a conversion function defined for that other type, the conversion function is called implicitly. A conversion function can be called implicitly as a result of an assignment expression, a function call, or a return from a function. This example shows an implicit call to a conversion function where a fraction is called.