Search:

Type: Posts; User: Elkvis

Search: Search took 0.04 seconds.

  1. Replies
    10
    Views
    1,796

    why are you using end() - 1? end() returns the...

    why are you using end() - 1? end() returns the iterator that is one-past the last item. the only way end() - 1 is correct, is if you do not want to process the last element.
  2. Replies
    10
    Views
    1,796

    j is not an iterator. when you subtract two...

    j is not an iterator. when you subtract two iterators, it returns an integer result, indicating the difference between the two iterators.

    so....



    yes it is, at least indirectly. I'm...
Results 1 to 2 of 2