Skip to content

Add range-erase to goto_program_template #760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

reuk
Copy link
Contributor

@reuk reuk commented Apr 4, 2017

As per #691.

Once the goto-programs class has a method to check whether its variants have been maintained, this method should probably check and fix-up the goto program if necessary after the erase.

Copy link
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

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

I'd strictly reject merging this unless fixing up other instructions is implemented. This function elevates the underlying API (std::list) to goto programs, given the impression that its use is safe and will maintain goto program invariants (and not just std::list invariants).

@reuk reuk closed this Apr 25, 2017
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.

2 participants