Skip to content

Conversation

@kraai
Copy link
Contributor

@kraai kraai commented Dec 8, 2025

This implements the Associative Containers Pattern described at https://stackoverflow.com/questions/16013545/how-do-i-erase-elements-from-stl-containers#16013546.

Fixes #4061.

Copy link
Member

@MKleusberg MKleusberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Thank you for taking care of this! 😄 Do you mind fixing the two whitespace issues in this PR? After that we can just merge it easily.

return;
}
} else {
++it;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here

return;
}
} else {
++it;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

@kraai kraai force-pushed the fix-deleting-column-with-constraint branch from d244174 to 04c3f31 Compare December 27, 2025 04:53
@kraai kraai force-pushed the fix-deleting-column-with-constraint branch from 04c3f31 to 72ff25e Compare December 27, 2025 15:46
@kraai kraai changed the title Fix iteration while potentially removing constraints Fix iteration Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Crashes when try to delete column

2 participants