home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: 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
-
- 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
-