home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH15 / A15103.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-11-01  |  363.7 KB  |  1 channel  |  11,025 sample rate  |  33 seconds
Transcription: In this example, functions C and D are not valid because a type that appears in the argument list of the template does not appear in the argument list of the function. It is not enough to use a parameterized type for the return value of the function or to use it inside the body of the function. The function D also cannot work because the type V is not one of the template arguments. The function E is not valid because a parameterized The characterized type can appear only once in a template argument list.