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

Drop dependencies, replace boost with std, remove includes #1140

Merged
merged 2 commits into from May 16, 2023

Conversation

awulkiew
Copy link
Member

@awulkiew awulkiew commented Apr 23, 2023

Drop Boost.SmartPtr dependency
Drop Boost.Utility (Call Traits) dependency
Replace boost::array with std::array
Replace boost::minmax_element with std::minmax_element Remove unneeded headers of Boost.Tuple and Boost.Algorithm Include specific headers from Boost.StringAlgo and Boost.Thread
Use auto for iterator types

Copy link
Collaborator

@barendgehrels barendgehrels left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good.

The only question I have: do we still separate commits between extensions and normal code, or is it equally convenient to mix it?

@@ -12,8 +14,6 @@

#include <algorithm>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this include possibly unused too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, and several others in this file. They were probably copied from spherical version. I'll remove them.

@awulkiew
Copy link
Member Author

@barendgehrels I didn't remember that we do this. Certainly this would make cherry-picking easier into master. I'll separate the PR into two commits.

Drop Boost.SmartPtr dependency
Drop Boost.Utility (Call Traits) dependency
Replace boost::array with std::array
Replace boost::minmax_element with std::minmax_element
Remove unneeded headers of Boost.Tuple and Boost.Algorithm
Include specific headers from Boost.StringAlgo and Boost.Thread
Use auto for iterator types
@awulkiew
Copy link
Member Author

awulkiew commented May 9, 2023

@vissarion are you ok with these changes?

Copy link
Member

@vissarion vissarion left a comment

Choose a reason for hiding this comment

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

Thanks, I am OK with merging.

@awulkiew awulkiew merged commit 7071251 into boostorg:develop May 16, 2023
14 checks passed
@vissarion vissarion added this to the 1.83 milestone Jun 16, 2023
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.

None yet

4 participants