contextSwitchingRange

"Play nice" input range filter

Injecting this into an input range processing chain will make sure that an occasional context switch happens during long processing.

Each call to popFront may result in a context switch

contextSwitchingRange
(
R
)
()
if (
isInputRange!R
)

Meta