Re: Polymorphism vs. Overloading

mac@coos.dartmouth.edu (Alex Colvin)
Tue, 25 Oct 1994 12:56:17 GMT

          From comp.compilers

Related articles
[4 earlier articles]
Re: Polymorphism vs. Overloading jhallen@world.std.com (1994-10-22)
Polymorphism vs. Overloading nandu@cs.clemson.edu (1994-10-27)
Re: Polymorphism vs. Overloading norman@flaubert.bellcore.com (1994-10-24)
Re: Polymorphism vs. Overloading ichudov@wiltel.com (1994-10-28)
Re: Polymorphism vs. Overloading strohm@mksol.dseg.ti.com (1994-10-28)
Re: Polymorphism vs. Overloading ryer@dsd.camb.inmet.com (1994-10-28)
Re: Polymorphism vs. Overloading mac@coos.dartmouth.edu (1994-10-25)
Re: Polymorphism vs. Overloading joe@sanskrit.ho.att.com (1994-10-31)
Re: Polymorphism vs. Overloading geld@cs.sun.ac.za (1994-10-31)
Re: Polymorphism vs. Overloading ram@cs.cmu.edu (Rob MacLachlan) (1994-10-25)
Re: Polymorphism vs. Overloading billk@cs.ukans.edu (1994-10-31)
Re: Polymorphism vs. Overloading Mike.Chapman@muc.de (Mike Chapman) (1994-10-31)
Re: Polymorphism vs. Overloading jsm@id.dth.dk (1994-10-31)
[20 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: mac@coos.dartmouth.edu (Alex Colvin)
Keywords: polymorphism
Organization: Dartmouth College, Hanover, NH, USA
References: 94-10-144 94-10-154
Date: Tue, 25 Oct 1994 12:56:17 GMT

jhallen@world.std.com (Joseph H Allen) writes:


>The difference is purely syntactical. Calls to overloaded functions look,
>well, like function calls. Calls to polymorphic functions require a dot or
>'->' somewhere. Really, that's the only difference. Artificial semantic


Isn't overloading resolved by the compiler and polymorphism resolved at
runtime? Or is this just the C++-centric view?
--
Alex Colvin
(Dartmouth) alex.colvin@dartmouth.edu
(Fostex R&D) alex_colvin@fostex.com
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.