home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_12 / 719.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  770KB  |  2550x3300
Labels: book | poster | reckoner
OCR: C++ and OOP Polymorphism 719 2.4 used for any object instantiated // from the class template Array used with Note 7:In both lines annotated with Note the operator 01 the use objects of instantiated from the class the operator template Array with The elements arrays syntax of of the ints, fun- is the same as using damental types. The operator can be used with the the arrays of chars and any other objects instantiated from the class template Array Note 8 This line in the function print illustrates using the operator E as an r-value It also contains an unstated requirement on type T Elements of type are are displayed on cout using the operator with the Therefore operator >> types in as in that substituted for T must be able to be be used success sfully passed order for an object of type Array ...