Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #428

Re: Help needed with function pointer examples

From torbenm@diku.dk (Torben Ægidius Mogensen)
Newsgroups comp.compilers
Subject Re: Help needed with function pointer examples
Date 2012-01-16 17:33 +0100
Organization SunSITE.dk - Supporting Open source
Message-ID <12-01-029@comp.compilers> (permalink)
References <12-01-006@comp.compilers> <12-01-026@comp.compilers>

Show all headers | View raw


The moderator opined:
> [Any program written in an OO language that allows inheritance or
> overloading uses function pointers, since that's how they're
> implemented. -John]

If the inheritance and overloading can be resolved statically, function
pointers are not needed.  But most OO languages use dynamic method
resolution by default, so what you say applies to nearly all OO
implementations.

	torben

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Help needed with function pointer examples Swati <swatirathi@cse.iitb.ac.in> - 2012-01-06 12:13 +0530
  Re: Help needed with function pointer examples Uli Kusterer <ulimakesacompiler@googlemail.com> - 2012-01-15 03:41 +0100
    Re: Help needed with function pointer examples arnold@skeeve.com (Aharon Robbins) - 2012-01-16 19:28 +0000
  Re: Help needed with function pointer examples glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-01-15 11:27 +0000
    Re: Help needed with function pointer examples torbenm@diku.dk (Torben Ægidius Mogensen) - 2012-01-16 17:33 +0100
      Re: Help needed with function pointer examples Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2012-01-17 16:28 +0100
  Re: Help needed with function pointer examples Tony Finch <dot@dotat.at> - 2012-01-19 14:07 +0000

csiph-web