Show simple item record

dc.contributor.authorBuchanan, M.
dc.date.accessioned2010-10-05T10:34:19Z
dc.date.available2010-10-05T10:34:19Z
dc.date.issued1994
dc.identifier.citationBuchanan , M 1994 , Overloading and polymorphism in the interpretation of inheritance in C++ . UH Computer Science Technical Report , vol. 202 , University of Hertfordshire .
dc.identifier.otherPURE: 90985
dc.identifier.otherPURE UUID: 2e3a9bd1-a454-4569-b1f9-8ba49e17907d
dc.identifier.otherdspace: 2299/4881
dc.identifier.urihttp://hdl.handle.net/2299/4881
dc.description.abstractThe work described in this report was motivated by a desire to understand the implementation of inheritance in C++. In particular a paper by W.Harris entitled "Contravariance for the rest of us" had raised issues concerning the interpretation of overloading in inheritance. We wished to establish whether overloading in C++ is used to maintain the subtype relationship in the way that Harris suggests. Other work on contravariance has addressed the contravariance-covariance debate and C++ is interesting in that it permits neither contravariance nor covariance. This 'no-variance' policy was thought to be worth investigating in relation to subtyping. Before exploring C++, we explain the way in which we use the terms overloading and polymorphism and introduce the C++ concept of virtual functions. Our experiments are concerned with virtual functions since it is these functions which enable inheritance polymorphism to be realised and hence give C++ its object-oriented flavour.en
dc.language.isoeng
dc.publisherUniversity of Hertfordshire
dc.relation.ispartofseriesUH Computer Science Technical Report
dc.titleOverloading and polymorphism in the interpretation of inheritance in C++en
dc.contributor.institutionSchool of Computer Science
rioxxterms.typeOther
herts.preservation.rarelyaccessedtrue


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record