UE4Variant_Details::VisitImpl

Implementation detail for Visit(Callable, Variants...).

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/TVariantMeta.h

Include

#include "Misc/TVariantMeta.h"

Syntax

namespace UE4Variant_Details
{
    template<typename Func, SIZE_T... EncodedIndices, SIZE_T... VariantIndices, typename... Variants>
    decltype(auto) UE4Variant_Details::VisitImpl
    (
        SIZE_T EncodedIndex,
        Func && Callable,
        TIntegerSequence< SIZE_T, EncodedIndices... > &&,
        TIntegerSequence< SIZE_T, VariantIndices... > && VariantIndicesSeq,
        Variants &&... Args
    )
}

Remarks

Implementation detail for Visit(Callable, Variants...). Builds an array of invokers, and forwards the variants to the callable for the specific EncodedIndex