Closed ChemistAion closed 2 years ago
Thank you! This should be fixed in https://github.com/felixguendling/cista/commit/3a91caedba6841c0d5141795709affe89015e4de
Fix confirmed with MSVC 17.3.1 x64 [Visual Studio 2022 (v143)] Thank you for prompt action here.
I know that cista::vector follows "Currently, they do not provide exactly the same interface as their std:: equivalents." but I would like to report this anyway.
When
cista::vector.erase(iterator)
is updated from its previous result then the vector last element (of more than one in total) will be not considered in such a loop:With one element in
cista::vector
only works fine: https://godbolt.org/z/r8E57hs4s