[comp.lang.c++] Class member function queue ?

lba@kolvi.hut.fi (Laszlo Balint) (10/12/90)

I am planning to implement a queue or array of class member functions in C++
(particularry Turbo C++). The problems are :
    - The functions are members of different classes, but these classes
      can be derived from a common base, if needed.
    - The queue (array) should contain different functions, with different
      argument lists.
    - The pointers to member functions do not seem to behave in similar
      way to C pointers to functions.

This will be (is, was) needed to implement asynchronous function call in 
non-multitasking environment, as MS-DOS (or an interface card with 80(1,2)86).

Thanks a lot

Laszlo Balint
------------------------------------------------------------------
Helsinki University of Technology                 lba@kolvi.hut.fi
Communications Laboratory                      or lba@tiltu.hut.fi
Finland