Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!rocket!dove From: dove@rocket.UUCP (Webster Dove) Newsgroups: comp.lang.c++ Subject: automatic post construction actions (how) ? Message-ID: Date: 6 Jun 89 14:36:22 GMT Sender: news@rocket.UUCP Distribution: comp Organization: Sanders Advanced Technology Dept. Lines: 14 Posting-Front-End: GNU Emacs 18.44.4 of Tue May 12 1987 on rocket (berkeley-unix) How can I implement a base class that performs some action with a completed object? For example, it might link the object into global data structures. I can't do that in the base constructor because the object is incomplete then. Is there an :after :init mechanism, or must I request (and trust) that the writer of the final derived class call a "link-me" function (ugly at best). Web -- Dr. Webster Dove Computing Systems and Architectures Advanced Signal Processing Engineering (ASPEN) Dept. Sanders Associates (a Lockheed Company)