Path: utzoo!utgpu!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!ukma!cwjcc!mailrus!bbn!inmet!ishmael!inmet!stt From: stt@inmet Newsgroups: comp.lang.c++ Subject: Re: Managing C++ Libraries: Dependencie Message-ID: <124300001@inmet> Date: 8 Nov 88 18:08:00 GMT References: <5078@thorin.cs.unc.edu> Lines: 19 Nf-ID: #R:thorin.cs.unc.edu:-507800:inmet:124300001:000:451 Nf-From: inmet!stt Nov 8 13:08:00 1988 A simple language extension would be: #include_once "classname.h" which could be defined to be roughly equivalent to: #ifndef classname_h #define classname_h #include "classname.h" #endif This would be similar to the "with" clause from Ada and the "import" capability of Modula-2. This would be a useful addition to ANSI C as well, I would think. S. Tucker Taft ...uunet!inmet!stt; stt@inmet.inmet.com Intermetrics, Inc. Cambridge, MA 02138