Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!santra!kolvi.hut.fi!lba From: lba@kolvi.hut.fi (Laszlo Balint) Newsgroups: comp.lang.c++ Subject: Class member function queue ? Message-ID: <1990Oct12.070649.11488@santra.uucp> Date: 12 Oct 90 07:06:49 GMT Sender: news@santra.uucp (Cnews - USENET news system) Organization: Helsinki University of Technology, Finland Lines: 19 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