Replace boost::unordered_{map/set} with std, also remove code duplication#6429
Replace boost::unordered_{map/set} with std, also remove code duplication#6429DennisOSRM merged 3 commits intomasterfrom
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.