CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: STL Templates

  1. #1
    Join Date
    Apr 1999
    Posts
    1

    STL Templates

    I am looking for some sample STL code. More specifically, some code that uses the list template with a class and overloads the operators. I can use list just fine, as long as I put numbers in it that do not require any overloaded operators. However, a serious compiler problem arises when I attempt to overload operators for my class. Basically, the compiler tells me that I must have lost my mind, because there is no way that an operator is defined for the operation I am trying to perform. (of course, not in that particular syntax, but I get it's drift). If I could just see how to overload those puppies, I think I could get things rolling.

    As usual, any and all help is greatly appreciated.


  2. #2
    Join Date
    Apr 1999
    Posts
    383

    Re: STL Templates

    If you want some links to STL sites try:

    http://www.xmission.com/~ksvhsoft/stl_links.html

    Without more detail (e.g. code) of what you are trying to do and the exact errors you get, I can't really help.

    Dave


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured