[*] tuple bug

This commit is contained in:
Reece Wilson 2022-03-28 10:55:28 +01:00
parent 99ba43acd4
commit 5205cf1785

View File

@ -114,7 +114,7 @@ static auto AuTuplePushBack(const AuTuple<Ts...> &tuple, T &&t)
template <AuUInt Start, AuUInt Length, class... Ts>
static auto AuTupleTakeRange(const AuTuple<Ts...> &tuple)
{
return __audetail::AuTuplePopImpl<Start>(tuple, AuMakeIndexSequence<Length - 1>());
return __audetail::AuTuplePopImpl<Start>(tuple, AuMakeIndexSequence<Length>());
}
template <class Tuple, class Invokable>