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

Remove dependencies on boost::asio and boost::system #15

Open
DMaroo opened this issue Jul 5, 2021 · 0 comments · May be fixed by #19
Open

Remove dependencies on boost::asio and boost::system #15

DMaroo opened this issue Jul 5, 2021 · 0 comments · May be fixed by #19

Comments

@DMaroo
Copy link
Contributor

DMaroo commented Jul 5, 2021

Currently, the code uses boost::system to manage error handling. Within it, the majority of occurrences are of boost::system::error_code.

Dependencies on boost::system::error_code could be removed by using std::error_code, but that could probably result in a loss of compatibility with boost::asio. The loss of compatibility is not necessary (we can only know by testing), but the best way to remove boost::system dependency would be to remove boost::asio dependency along with it as well. However, removing boost::asio is not trivial. So try to find a way to remove boost::system dependency without breaking the code, and then test it to confirm that the code indeed works as expected. If this is not possible, then we will have to replace boost::asio by some standard library as well.

This PR might be relevant for removing boost::asio: https://github.com/STEllAR-GROUP/hpx/pull/5158/files

@DMaroo DMaroo changed the title Remove dependencies on boost::system Remove dependencies on boost::asio and boost::system Jul 6, 2021
@DMaroo DMaroo linked a pull request Aug 2, 2021 that will close this issue
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 a pull request may close this issue.

1 participant