<xstd/bits/bit_algorithm/bit_swap_ranges.hpp>¶
bit_swap_ranges¶
As ranges::swap_ranges in [alg.swap], with:
- Constraints:
R1andR2are writable sequences of ours, windows included. - Effects: Exchanges the first
M= min(ranges::size(r1),ranges::size(r2)) positions of the two, a block of the narrower block type at a time, at any two offsets. - Complexity: O(
M/D), whereDis the digits of the narrower block.