Fix CloseStruct
This commit is contained in:
parent
42c14df681
commit
fd9820aa22
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ template <
|
||||||
typename...,
|
typename...,
|
||||||
auto f = []{},
|
auto f = []{},
|
||||||
auto I = loopholes::CountValue<impl::AttributesTag, decltype(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,
|
typename T = decltype(Magic(loopholes::Getter<MetaInfoKey<II, impl::AttributesTag>{}>{}))::Type,
|
||||||
auto = AddTypeToTag<impl::AttributesTag, T, decltype(f)>()
|
auto = AddTypeToTag<impl::AttributesTag, T, decltype(f)>()
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue