home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10801 < prev    next >
Encoding:
Text File  |  1992-11-20  |  878 b   |  24 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!gilem
  3. From: gilem@aix.rpi.edu (Michael R. Gile)
  4. Subject: help with borland c++ templates
  5. Message-ID: <m7z18r-@rpi.edu>
  6. Nntp-Posting-Host: aix.rpi.edu
  7. Organization: Rensselaer Polytechnic Institute, Troy, NY
  8. Date: Fri, 20 Nov 1992 16:05:16 GMT
  9. Lines: 13
  10.  
  11. I wanted to use the borland c++ templates to create a 
  12. bag of structures, and so I tried to use the 
  13. BI_BagAsVector type.  The only problem is that you get
  14. an error of an illegal operation on the structure.  I
  15. figure that I have to make the structure a class which
  16. is derived from Object.  Is this correct?  If so, could
  17. someone point me in the right direction, because I don't
  18. have a clue on which virtual functions must be declared
  19. in the new child class for the == to work (this is the
  20. operation that causes the problems.
  21.  
  22. Thanks
  23. Mike
  24.