Re: optional argument versus subroutine overloading



reubendb wrote:

Is function/subroutine overloading actually resolved
during compilation, or during run time, as in the case of presence
test ?

Overloading is typically resolved at compile time. I'd be astonished
if any implementation did it differently.

Steve

.



Relevant Pages

  • Re: optional argument versus subroutine overloading
    ... during compilation, or during run time, as in the case of presence ... Overloading is typically resolved at compile time. ... Mike Metcalf ...
    (comp.lang.fortran)
  • Re: Function Overloading
    ... There can be some nasty "ambiguous overloading" bugs. ... It's usually some overhead at run-time (although this point may ... Overloading is fully resolved at compile time. ... overload resolution rules -- although it is never totally ...
    (comp.lang.c)
  • Re: optional argument versus subroutine overloading
    ... Overloading is typically resolved at compile time. ... subroutine call at all. ... wouldn't repeat the test in the middle of a time critical loop inside of ...
    (comp.lang.fortran)
  • Re: polymorphism/boxing question
    ... there's no boxing involved in your examples. ... overloading is performed at compile time. ... doesn't hobble polymorphism, however, which is more about *overriding* ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Equals() and inheritance
    ... The overloaded Equals() for object of type B is ... You're confusing overloading and overriding. ... but overloading is performed at compile time. ...
    (microsoft.public.dotnet.languages.csharp)