You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been bitten by bugs in the deceptively simple search_n algorithm in the past, and ranges::search_n makes some slightly different implementation choices from std::search_n. It would raise confidence in the correctness of those choices if we had a test that searched random strings of binary digits for sequences of 0s or 1s of randomly-chosen lengths and validated that ranges::search_n and std::search_n produce identical correct results.