/Engine/Source/Runtime/Core/Public/Misc/TVariantMeta.h
When the type we're looking up bubbles up to the top, we return the current index
template<SIZE_T N, typename T, typename... Ts> struct TParameterPackTypeIndexHelper< N, T, T, Ts... >