Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!halley!kelley From: kelley@halley.UUCP (Michael Kelley) Newsgroups: comp.lang.c++ Subject: libraries, compilers, class info, exceptions Keywords: libraries, compilers, class info, dossier, typeof, templates Message-ID: <995@halley.UUCP> Date: 24 Sep 90 16:10:24 GMT Organization: Tandem Computers, Austin, TX Lines: 41 A couple of questions: Does anyone know of a library of generic data structures (lists, trees, associative arrays, etc.) with a parameterized interface in keeping with the "template" syntax? How about a non-NIHCL version which I could create a template interface for? A colleague of mine mentioned an AT&T package used in-house, but now maybe ready to hit the streets? What's the word from various UNIX vendors on future C++ releases? Specifically, I'm wondering if AT&T will continue to translate C++ to C, or will implement a C++ to assembly compiler? And will Sun continue to port AT&T's work, or are they working on their own implementation? What are your views on an appropriate name for a run-time function to return class information? Linton suggested "dossier", but that sounded a little too government-ish having grown up in Los Alamos. So, I've implemented the "typeof" function. It can be used as both a function taking one argument, or as a virtual member function taking no arguments. It's generated solely from the object files prior to link time--no source code needed. We're using it to cast down to virtually derived classes, do exception handling as specified at the C++ conference, and some other funky things. But, I'm a little concerned about a name-clash with future C++ versions, since it's mentioned as a compile-time operator in the Stroustrup paper presented in Denver. Thoughts? And when can we look forward to exception handling from AT&T? Please post if you have something of general interest, or write to me if you want to talk specifics. Mike Kelley Tandem Computers, Austin, TX halley!kelley@cs.utexas.edu (512) 244-8830 / Fax (512) 244-8247 -- Mike Kelley Tandem Computers, Austin, TX halley!kelley@cs.utexas.edu (512) 244-8830