Replace boost::variant with std::variant#20480
Conversation
fabb2ab to
faccd6d
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Concept ACK |
faccd6d to
fa06810
Compare
|
Concept ACK :) |
|
Concept ACK 🚀 |
|
Concept ACK |
1 similar comment
|
Concept ACK |
fa06810 to
fa1b3b6
Compare
fjahr
left a comment
There was a problem hiding this comment.
Concept ACK
Code looks good, I had started looking into similar changes before I found this.
…g.m_fallback fa749fb rpc: Replace boost::variant with std::variant for RPCArg.m_fallback (MarcoFalke) Pull request description: Now that we can use std::variant from the vanilla standard library, drop the third-party boost variant dependency. Patch is split out from #20480. A step-by-step replacement is possible because we don't have our own `Variant` wrapper and the source code specifies `boost::variant` explicitly. I think a step-by-step replacement should be preferred, because it simplifies review. ACKs for top commit: fjahr: re-ACK fa749fb Sjors: re-ACK fa749fb Tree-SHA512: 5e3c12b7d535f73065b4afa8df0a488f78fb25d2234f5ecbf740e624db03a34c35fea100eb7d37e84741721310e6450b7fb4296a2207a7ed1fa24485b3650981
faad066 to
fa5ab4b
Compare
|
Addressed feedback by @fjahr |
…r RPCArg.m_fallback fa749fb rpc: Replace boost::variant with std::variant for RPCArg.m_fallback (MarcoFalke) Pull request description: Now that we can use std::variant from the vanilla standard library, drop the third-party boost variant dependency. Patch is split out from bitcoin#20480. A step-by-step replacement is possible because we don't have our own `Variant` wrapper and the source code specifies `boost::variant` explicitly. I think a step-by-step replacement should be preferred, because it simplifies review. ACKs for top commit: fjahr: re-ACK fa749fb Sjors: re-ACK fa749fb Tree-SHA512: 5e3c12b7d535f73065b4afa8df0a488f78fb25d2234f5ecbf740e624db03a34c35fea100eb7d37e84741721310e6450b7fb4296a2207a7ed1fa24485b3650981
fjahr
left a comment
There was a problem hiding this comment.
Code review ACK fa5ab4b7e4f609a1309503e3b3c5317ebf81a7e9
Thanks, the simplifications made this very straight forward to review IMO.
fa5ab4b to
faa8f68
Compare
|
Code review ACK faa8f68 Only changes were sorting of includes and switching of |
Now that we can use std::variant from the vanilla standard library, drop the third-party boost variant dependency