Ad
  • Default User Avatar

    aargh. forgot to pass base around

  • Default User Avatar

    Something I don't quite grasp is, where in memory do the iterators of minmax point to?
    Aern't these iterators invalid after std::minmax_element returns?
    I don't understand where the ints pointed to by these iterators are stored in memory.
    Are the iterators not actual pointers, but instead simple integers wrapped in a std-defined class having an iterator interface?