diff options
Diffstat (limited to 'boost/fusion/container/map/detail/at_impl.hpp')
-rw-r--r-- | boost/fusion/container/map/detail/at_impl.hpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/boost/fusion/container/map/detail/at_impl.hpp b/boost/fusion/container/map/detail/at_impl.hpp index f871bee085..025c1724a1 100644 --- a/boost/fusion/container/map/detail/at_impl.hpp +++ b/boost/fusion/container/map/detail/at_impl.hpp @@ -28,7 +28,9 @@ namespace boost { namespace fusion template <typename Sequence, typename N> struct apply { - typedef mpl::at<typename Sequence::storage_type::types, N> element; + typedef typename + mpl::at<typename Sequence::storage_type::types, N>::type + element; typedef typename detail::ref_result<element>::type type; static type @@ -39,9 +41,11 @@ namespace boost { namespace fusion }; template <typename Sequence, typename N> - struct apply <Sequence const, N> + struct apply<Sequence const, N> { - typedef mpl::at<typename Sequence::storage_type::types, N> element; + typedef typename + mpl::at<typename Sequence::storage_type::types, N>::type + element; typedef typename detail::cref_result<element>::type type; static type |