You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by GitBox <gi...@apache.org> on 2021/03/18 17:20:19 UTC
[GitHub] [datasketches-cpp] AlexanderSaydakov commented on issue #206: merge_sorted_blocks_direct
AlexanderSaydakov commented on issue #206:
URL: https://github.com/apache/datasketches-cpp/issues/206#issuecomment-802140109
Yes, I believe you are right. The chunk_begin iterator must be invalidated when container is modified. And yes, it does not matter if iterators are pointers. Apparently in debug mode this might not be the case, and can lead to undefined behavior. And yes, I believe your proposed fix is fine. We have to instantiate this iterator after modifying the container.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org