I have met the same error terminate called after throwing an instance of 'std::out_of_range'   what():  vector::_M_range_check: __n (which is 2103833553) >= this->size() (which is 5) after 2 epoch,
can you offer a radical solution? Thanks in advance!