Re: Access to function returning class-wide type



"Randy Brukardt" <randy@xxxxxxxxxxxxxx> wrote in message
news:g8lgof$54c$1@xxxxxxxxxxxxxxxxxx
....
Anyway, the access parameter exists so that an instance of this routine
matches the profile of S'Class'Input. After all, the purpose of this
routine is to eliminate the Ada 95 compiler magic involved with
S'Class'Input and make it user-programmable. The thought is that a
user-defined version of S'Class'Input would be directly specified as an
instance of Generic_Dispatching_Constructor.

I realized just now that I screwed up this answer, it doesn't make much
sense as I wrote it above. The correct reason was so that S'Input could be
used as the constructor routine to an instance of
Generic_Dispatching_Constructor, and then that instance could be used as
part of a routine implementing a user-defined S'Class'Input. Sorry about any
confusion.

Randy.


.



Relevant Pages

  • Re: great
    ... > What's the purpose of adding the ATL object? ... Your C++ routine becomes a method call within a COM object. ... That is the whole purpose of using COM in the first place. ... Brian ...
    (microsoft.public.win32.programmer.ole)
  • Re: MATLAB Central Spring Contest
    ... is the routine that checks for forbidden ... More than once in past contests I have ... call in helper code that I copied from a function I wrote ... for another purpose. ...
    (comp.soft-sys.matlab)
  • Re: Multiplying by a random number
    ... Abder-Rahman wrote: ... any context for what the routine is intended to do. ... Likely the purpose hasn't changed since you last asked about this ...
    (comp.soft-sys.matlab)
  • Re: optional or interface
    ... I need to modify the procedure to fit more extensible ... purpose. ... If you want a hard limit, then I'd say up at most two or three ... Beyond that, consider splitting up the routine, as ...
    (comp.lang.fortran)
  • Re: optional or interface
    ... purpose. ... interface, since there will be lots of similar procedures and then ... If you want a hard limit, then I'd say up at most two or three ... Beyond that, consider splitting up the routine, as ...
    (comp.lang.fortran)