This patch refactors the `all()` and `any()` methods in `bitset` to eliminate redundant code while preserving the performance. Code generation remains unchanged, as verified on Compiler Explorer: https://godbolt.org/z/xx8hb4sPM.
This patch refactors the `all()` and `any()` methods in `bitset` to eliminate redundant code while preserving the performance. Code generation remains unchanged, as verified on Compiler Explorer: https://godbolt.org/z/xx8hb4sPM.