mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 20:17:32 +02:00
Fix fusion::at<vector<...>, N> for C array types
This commit is contained in:
@ -47,7 +47,7 @@ namespace boost { namespace fusion
|
||||
struct apply
|
||||
{
|
||||
typedef typename boost::remove_cv<Sequence>::type seq;
|
||||
typedef decltype(seq::template value_at_impl<N::value>(boost::declval<seq*>())) type;
|
||||
typedef typename decltype(seq::template value_at_impl<N::value>(boost::declval<seq*>()))::type type;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -272,7 +272,7 @@ namespace boost { namespace fusion
|
||||
|
||||
template <std::size_t N, typename U>
|
||||
static BOOST_FUSION_GPU_ENABLED
|
||||
U value_at_impl(store<N, U>*);
|
||||
mpl::identity<U> value_at_impl(store<N, U>*);
|
||||
};
|
||||
|
||||
template <typename V, typename... T>
|
||||
|
Reference in New Issue
Block a user