I ask because it doesn't seem to be for me. I've got a number of classes that inherit from a base class with some virtual functions. When I have a base class pointer everything works fine as it should ...
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 ...