Patrick Dughi wrote: [...] > Is there a normal way to define a map of maps? I had been using > the standard templating structure: > > map<string, map<string, int>> variable_name; > > but instead had to resort to > map<string, MapEncapsulatingClass> variable name; > > and the encap class contained a map of string to int. Just one level of > misdirection, no big deal. > > I don't seem to have any luck procuring much information on the > STL, and what has to be the most common stl use (lists of lists, etc). > > PjD I really don't go with STL maps. Just don't like it. I assume you already have read The C++ Programming Language, by Bjarne Stroustroup [ISBN: 0201889544] (3rd Edition, the second edition didn't come with STL information). I have it, but I've never managed to read the STL chapter. (If you don't find the answer in the books, the guys over sweng-gamedev@incagold.com knows a lot about STL. Is supossed to be a list for advanced game developers (lots of big names of the industry hanging there) but the most common topic are the STL and C++ structures, programming techniques, etc.) I want add some input on your development process. Right now I'm compiling a couple of days old version. Regards, -- Leonardo Herrera mailto:leonardo.herrera@mercantil.com -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/03/01 PST