-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Replace boost::unordered_{map/set} with std, also remove code duplication #6429
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
Conversation
|
As we migrated to C++17 we can probably also get rid of boost::optional in favor of std::optional. |
|
Copy-pasting CI errors from Windows(as it was difficult for me to find in CI output): At glance it is something about includes: AFAIR |
Yes, working on removing more boost in an upcoming PR. One sticking point for optional is that the code currently stores optional references which isn't supported by std::optional. Arguably, that should be a pointer. |
Hm, was just going to do that(migrate to std::optional) -it seemed to be a low hanging fruit 🤔 Will try if you don't mind :) |
yes, please go ahead. 😏 |
Well, one more pitfall here is that it looks like |
Thanks for posting this. Should be fixed in 061f0a1. |
Agreed, ultimately there shouldn't be a mix of std and boost implementations of the same types. Doesn't spirit X3 work with std::optional/variant? |
Tbh I don't know, it is my very first experience with boost::spirit :) |
No description provided.