diff options
Diffstat (limited to 'boost/fusion/view/nview/detail/at_impl.hpp')
-rw-r--r-- | boost/fusion/view/nview/detail/at_impl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/fusion/view/nview/detail/at_impl.hpp b/boost/fusion/view/nview/detail/at_impl.hpp index b9f41defcd..9f8c163708 100644 --- a/boost/fusion/view/nview/detail/at_impl.hpp +++ b/boost/fusion/view/nview/detail/at_impl.hpp @@ -10,6 +10,7 @@ #include <boost/fusion/support/config.hpp> #include <boost/fusion/sequence/intrinsic/at.hpp> +#include <boost/fusion/sequence/intrinsic/value_at.hpp> namespace boost { namespace fusion { @@ -29,7 +30,7 @@ namespace boost { namespace fusion typedef typename Sequence::sequence_type sequence_type; typedef typename Sequence::index_type index_type; - typedef typename result_of::at<index_type, N>::type index; + typedef typename result_of::value_at<index_type, N>::type index; typedef typename result_of::at<sequence_type, index>::type type; BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED |