Search:

Type: Posts; User: dustfinger

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,209

    Why not indeed. I cannot believe that I never...

    Why not indeed. I cannot believe that I never thought of that. I will sheepishly go back to what I had been doing before I interupted this forum. Augh!!!!

    dustfinger.
  2. Replies
    7
    Views
    1,209

    Oops. I did not mean to write getMap is a member...

    Oops. I did not mean to write getMap is a member of ObjMap. This is what I really meant:

    The code in question is being called from ObjNoMap. I want read only access to a very large map that...
  3. Replies
    7
    Views
    1,209

    One problem with returning a const_iterator is...

    One problem with returning a const_iterator is that I will not know when I am at the end of the map. I could write a function that takes a reference to a const_iterator, which will be set to the end...
  4. Replies
    7
    Views
    1,209

    encapsulation and accessing large maps?

    Suppose that I have an object that has a very large map. Consider now, another object that wishes to iterate through every item in the map owned by the first object. Lets name these two objects,...
Results 1 to 4 of 4