diff --git a/include/utempl/attributes.hpp b/include/utempl/attributes.hpp index ec0ae86..3c0375e 100644 --- a/include/utempl/attributes.hpp +++ b/include/utempl/attributes.hpp @@ -33,7 +33,7 @@ template < typename..., auto f = []{}, auto I = loopholes::CountValue(), - auto II = (I > 2) ? I - 2 : I - 1, + auto II = (I >= 2) ? I - 2 : I - 1, typename T = decltype(Magic(loopholes::Getter{}>{}))::Type, auto = AddTypeToTag() >