In a left/right merge, combined_first is always increased/decreased the regular size:
combined_first += l_reg_combined
combined_first -= l_reg_combined
This is invalid when the last iteration is not regular. The problem shows up when using stable_vector::iterators, which crash when incremented out of bounds.
In a left/right merge, combined_first is always increased/decreased the regular size:
combined_first += l_reg_combined
combined_first -= l_reg_combined
This is invalid when the last iteration is not regular. The problem shows up when using stable_vector::iterators, which crash when incremented out of bounds.