>
> [ObCircle] I've converted my mud from C to C++. Going to eventually go
> from using linked lists with all those poitners to using the STL list
> template. Has anyone attempted this? Any hints, pointers or other advice?
Sure. They're easy to use.
Screw the list template though. Go straight to using maps, or
something worthwhile. I was plotting a GUI editor a while back (should be
out by christmas, girlfriend willing), and decided to use lists. After
consideration, i switched to vectors (more like current code, plus vectors
are faster if you know what you're looking for). Then, I realized maps do
all that, and then some, no vnum/rnum stuff to worry about.
PjD
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT