Talk:cpp/algorithm/ranges/search n
From cppreference.com
At the time of preparing the Page the GCC's implementation of std::ranges::search_n up to the version 10.2 and 11.0 has had a bug #97828 that was promptly fixed after reporting. Older GCC compilers might still experience problems with std::ranges::search_n when applied to the random-access
ranges.
More info can be found in the [History].
--Space Mission (talk) 14:29, 19 November 2020 (PST)