comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: overload init function in class/object ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: overload init function in class/object ? [message #34975 is a reply to message #34974] Tue, 06 May 2003 14:29 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
paul wisehart wrote:
>
> On Tue, 6 May 2003 13:48:22 -0600, David Fanning <david@dfanning.com> wrote:
>> paul wisehart (wisehart@runbox.com) writes:
>> I think it is your definition of "overload" that
>> is probably doing you in. :-)
>>
>> I'm not sure what you mean by it, but it sure doesn't
>> mean "define the same thing twice, in two different ways".
> In C++ thats exectly what it means :)

Well, not precisely. In C++, overloading means defining two different
things with the same exact name, in possibly different ways, and letting
the compiler decide which one to use, based upon the number and types of
the arguments. Given the different way that IDL handles data types, and
the different way it handles default arguments, it's neither feasible
nor necessary to use C++ type overloading in IDL.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sec : U Re: checking for Demo mode
Next Topic: Interpolation from a regular to an irregular grid?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 05:18:19 PDT 2025

Total time taken to generate the page: 1.03727 seconds