I've been playing around with data structures (queues, lists, stacks, etc.) for awhile now, and I'm trying to grasp the concept of operator overloading, namely, the [] operator.
I'm using it to access the data within a custom-made data structure class, like the data structures found in the STL. I've been trying to analyze their methods, but since I'm using VC++ 10, the header files MS has included are very cryptic, with their typedefs to multiple classes, which in turn are a type definition to another class, causes me great confusion, and I find myself no further than I already started. I've searched the site for any information, but my search hasn't yielded any results.
Links pertaining to this subject would be welcome. If this site mentions anything about overloading the [] operator, please post those as well, since I probably didn't find them yet.
I would post my code, but I don't have it on me right now (different computer).