diff --git a/include/boost/parser/parser.hpp b/include/boost/parser/parser.hpp index caf72e85..6c37e823 100644 --- a/include/boost/parser/parser.hpp +++ b/include/boost/parser/parser.hpp @@ -4292,10 +4292,10 @@ namespace boost { namespace parser { { Iter first = first_; - auto temp_result = - make_temp_result(first, last, context, skip, flags, success); + using temp_result_t = + decltype(make_temp_result(first, last, context, skip, flags, success)); - std::decay_t{}))> + std::decay_t(), llong<0>{}))> retval{}; [[maybe_unused]] auto _ = detail::scoped_trace( @@ -4307,9 +4307,9 @@ namespace boost { namespace parser { : flags, retval); - std::decay_t{}))> + std::decay_t(), llong<1>{}))> indices; - std::decay_t{}))> + std::decay_t(), llong<2>{}))> merged; call_impl( first, @@ -4360,13 +4360,13 @@ namespace boost { namespace parser { Iter first = first_; - auto temp_result = - make_temp_result(first, last, context, skip, flags, success); + using temp_result_t = + decltype(make_temp_result(first, last, context, skip, flags, success)); using temp_result_attr_t = - std::decay_t{}))>; - std::decay_t{}))> + std::decay_t(), llong<0>{}))>; + std::decay_t(), llong<1>{}))> indices; - std::decay_t{}))> merged; + std::decay_t(), llong<2>{}))> merged; auto max_ = [](auto result, auto x) { if constexpr (decltype(result)::value < decltype(x)::value) {