Algo::FindSequence

Searches for the first occurrence of a sequence of elements in another sequence.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Algo/FindSequence.h

Include

#include "Algo/FindSequence.h"

Syntax

namespace Algo
{
    template<typename RangeWhereType, typename RangeWhatType>
    auto Algo::FindSequence
    (
        const RangeWhereType & Where,
        const RangeWhatType & What
    )
}

Remarks

Searches for the first occurrence of a sequence of elements in another sequence.

Returns

A pointer to the first occurrence of the "What" sequence in "Where" sequence, or nullptr if not found.

Parameters

Parameter

Description

Where

The range to search

What

The sequence to search for.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss