Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/FindSequence.h |
Include |
#include "Algo/FindSequence.h" |
namespace Algo
{
template<typename RangeWhereType, typename RangeWhatType>
auto Algo::FindSequence
(
const RangeWhereType & Where,
const RangeWhatType & What
)
}
Searches for the first occurrence of a sequence of elements in another sequence.
A pointer to the first occurrence of the "What" sequence in "Where" sequence, or nullptr if not found.
Parameter |
Description |
---|---|
Where |
The range to search |
What |
The sequence to search for. |