1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix inherit_if_xxx decltype

This commit is contained in:
bolero-MURAKAMI 2012-05-14 11:33:36 +09:00
parent e4a0f7549b
commit 3a999dd70c
54 changed files with 154 additions and 152 deletions

View file

@ -55,7 +55,7 @@ namespace sprout {
}
public:
static SPROUT_CONSTEXPR type call(src_type const& e) {
return call_impl(typename sprout::index_range<0, sizeof...(Args)>::type());
return call_impl(sprout::index_range<0, sizeof...(Args)>::make());
}
};
template<typename Tag, typename... Args>
@ -74,7 +74,7 @@ namespace sprout {
}
public:
static SPROUT_CONSTEXPR type call(src_type const& e) {
return call_impl(typename sprout::index_range<0, sizeof...(Args)>::type());
return call_impl(sprout::index_range<0, sizeof...(Args)>::make());
}
};
} // namespace detail

View file

@ -74,7 +74,7 @@ namespace sprout {
typename pass_through_impl::data_param d
) const
{
return call_impl(e, s, d, typename sprout::index_range<0, Arity>::type());
return call_impl(e, s, d, sprout::index_range<0, Arity>::make());
}
};
template<typename Grammar, typename Expr, typename State, typename Data>