Fix CloseStruct

This commit is contained in:
sha512sum 2024-06-29 09:27:27 +00:00
parent 42c14df681
commit fd9820aa22

View file

@ -33,7 +33,7 @@ template <
typename...,
auto f = []{},
auto I = loopholes::CountValue<impl::AttributesTag, decltype(f)>(),
auto II = (I > 2) ? I - 2 : I - 1,
auto II = (I >= 2) ? I - 2 : I - 1,
typename T = decltype(Magic(loopholes::Getter<MetaInfoKey<II, impl::AttributesTag>{}>{}))::Type,
auto = AddTypeToTag<impl::AttributesTag, T, decltype(f)>()
>