|
-
April 22nd, 1999, 05:54 PM
#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.
-
April 23rd, 1999, 05:02 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|