We don't enforce c++20 (yet) so we shouldn't include any c++20 header to avoid breaking the build on older supported compilers.
D17964 avoided the use of std::countr_zero because it's c++20, but the <bit> header was still included.
Details
Details
- Reviewers
PiRK roqqit - Group Reviewers
Restricted Project - Commits
- rABCd9414bd7cdc0: Remove c++20 header
ninja all check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- remove_cpp20_header
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 33279 Build 66040: Build Diff build-clang-tidy · build-without-wallet · lint-circular-dependencies · build-clang · build-diff · build-debug Build 66039: arc lint + arc unit