We use multimap to quickly find values / indices declared as
typedef double Numerical; std::multimap<Numerical, Int32> SortableRowIndex;
And we fill it in pairs using
SortableRowIndex.insert(std::pair<Numerical, Int32>(GetSortable(i), i));
The GetSortable () function always returns double. And it works great. Iterating through values works fine. But then the weird part comes ... sometimes when we try to clear the data ...
SortableRowIndex.clear();
... it goes into some kind of cycle and stalls / races, clogging the processor core used by 100%.
The explicit method seems to be inherited from xtree (the system file), and inside it there is only a bunch of lines:
void clear() _NOEXCEPT {
For some reason, my Visual Studio 2013 will not allow me to enter this method when debugging ... and I can not, because life finds out to me what the problem is!
Any help would be ridiculously appreciated!
source share