I am running into a bad pointer problem when using std::sort() with a comparator functor. I am sorting an std::vector of class pointers. I sort the pointers against different class members depending ...
I'm trying to sort a vector of objects for which defining operator< doesn't really make sense, so I'm trying to use the predicate form of std::sort, but I'm having trouble getting it to compile.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results