juliank, Took a bit to figure out but
std::sort()reads from outside the given range if your operator< is inconsistent, aka returning true for A==B.
Causing stuff to crash of course.
juliank, Took a bit to figure out but
std::sort()reads from outside the given range if your operator< is inconsistent, aka returning true for A==B.
Causing stuff to crash of course.