delorie.com/archives/browse.cgi | search |
From: | Martin Bernreuther <Martin DOT Bernreuther AT po DOT uni-stuttgart DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Template instances |
Date: | Wed, 03 Dec 1997 09:14:35 +0000 |
Organization: | University of Stuttgart |
Lines: | 24 |
Message-ID: | <348522FB.D02501B0@po.uni-stuttgart.de> |
Reply-To: | Martin DOT Bernreuther AT po DOT uni-stuttgart DOT de |
NNTP-Posting-Host: | iv-kib5.bauingenieure.uni-stuttgart.de |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hi, I use an own template list which is persistent. There are methods like Load and Save which call Load and Save methods of the list elements. I also used this list for non persistent objects. Now I have the problem that djgpp tries to build instances of the Load and Save methods of the list even if these methods are never used in the code. This is not the behaviour described in the Stroustrup book. Is there a way to make the compiler just to build the used methods. I'm porting a program from M$ VC++ where there are no problems! Bye Martin ------------------------------------------------------------------------ Dipl.-Ing. Martin Bernreuther University of Stuttgart Pfaffenwaldring 7 Informationsverarbeitung im 70569 Stuttgart konstruktiven Ingenieurbau Germany Phone: (+49 711) 685-6595 E-Mail: Martin DOT Bernreuther AT po DOT uni-stuttgart DOT de http://www.uni-stuttgart.de/iv-kib/ ------------------------------------------------------------------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |