-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Wrap boost::replace_all #25068
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
Wrap boost::replace_all #25068
The head ref may contain hidden characters: "2205-util-string-\u{1F4C9}"
Conversation
|
Concept ACK. |
|
Concept ACK, good idea to wrap or pimpl as much of boost as possible, to avoid huge amount of headers code being compiled for everything. |
|
Concept ACK |
|
Concept ACK There is one more instance of boost:replace_all in https://github.com/bitcoin/bitcoin/blob/fa7734d7e7e52ec9557c9508d6be164025ff90d7/src/util/system.cpp#L1255 |
|
ACK fa2deae |
|
Approach ACK |
|
ACK fa2deae |
|
ACK fa2deae. Next step, replace with custom implementation to get rid of another boost header? nit: string.cpp shows |
backport: merge bitcoin#18289, bitcoin#19090, bitcoin#22859, bitcoin#18758, bitcoin#21016, bitcoin#22953, bitcoin#25027, bitcoin#20461, bitcoin#25025, bitcoin#25057, bitcoin#25068 (deboostification)
Summary: The included header is thousand lines of template code (not counting the recursive includes) for basically one function. This is a backport of [[bitcoin/bitcoin#25068 | core#25068]] Test Plan: `ninja all check-all` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D13240
The included header is thousand lines of template code (not counting the recursive includes) for basically one function.