Skip to content
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

Replace boost by std #7403

Merged
merged 42 commits into from
Jul 5, 2023
Merged

Replace boost by std #7403

merged 42 commits into from
Jul 5, 2023

Conversation

sloriot
Copy link
Member

@sloriot sloriot commented Apr 23, 2023

Summary of Changes

Replace features in boost by features introduces in c++11/c++14

@sloriot sloriot added Under Testing and removed Batch_2 Second Batch of PRs under testing Under Testing labels Jun 15, 2023
sloriot added a commit to sloriot/cgal that referenced this pull request Jun 22, 2023
@@ -154,11 +155,11 @@ class Polyline_simplification_2
(*it)->set_removable(false);
++it;
for(; it != ite; ++it){
if((std::next(it) != ite) && (std::prev(it)== std::next(it))){
if((boost::next(it) != ite) && (boost::prior(it)==boost::prior(it))){
Copy link
Member

Choose a reason for hiding this comment

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

Any idea why the behavior is different?

Copy link
Member Author

Choose a reason for hiding this comment

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

The iterator implementation is most probably buggy (some platforms complains that it is not bidirectional and there are infinite loops on other platforms).

@sloriot sloriot added Batch_1 First Batch of PRs under testing and removed Under Testing labels Jun 28, 2023
@sloriot sloriot added Tested and removed Under Testing Batch_1 First Batch of PRs under testing labels Jul 5, 2023
@sloriot
Copy link
Member Author

sloriot commented Jul 5, 2023

Successfully tested in CGAL-6.0-Ic-15

@sloriot sloriot merged commit 68813c5 into CGAL:master Jul 5, 2023
1 check passed
@sloriot sloriot deleted the CGAL-replace_boost_by_std branch July 5, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants