Article View: comp.os.msdos.programmer
Article #6591help with borland c++ templates
From: Michael R. Gile
Date: Fri, 20 Nov 1992 16:05
Date: Fri, 20 Nov 1992 16:05
13 lines
901 bytes
901 bytes
I wanted to use the borland c++ templates to create a bag of structures, and so I tried to use the BI_BagAsVector type. The only problem is that you get an error of an illegal operation on the structure. I figure that I have to make the structure a class which is derived from Object. Is this correct? If so, could someone point me in the right direction, because I don't have a clue on which virtual functions must be declared in the new child class for the == to work (this is the operation that causes the problems. Thanks Mike
Technical Details
Message-ID:
<m7z18r-@rpi.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!gilemShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!gilem From: gilem@aix.rpi.edu (Michael R. Gile) Subject: help with borland c++ templates Message-ID: <m7z18r-@rpi.edu> Nntp-Posting-Host: aix.rpi.edu Organization: Rensselaer Polytechnic Institute, Troy, NY Date: Fri, 20 Nov 1992 16:05:16 GMT Lines: 13