Daily bit(e) of C++ | std::search
Daily bit(e) of C++ #253, The sub-sequence search algorithm: std::search.
The std::search algorithm returns the first instance of a sub-sequence.
The C++17 variant supports both parallel execution and custom searchers. Custom searchers offer better average complexity (up to linear).