/Engine/Source/Runtime/Core/Public/Misc/TVariantMeta.h
A template parameter pack containing the same type adjacently contains duplicate types. The next structure ensures that we check all pairs of types in a template parameter pack.
template<typename T, typename... Ts> struct TTypePackContainsDuplicates< T, T, Ts... >