diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-08-26 08:15:55 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-08-26 08:15:55 -0400 |
commit | bb4dd8289b351fae6b55e303f189127a394a1edd (patch) | |
tree | 77c9c35a31b1459dd7988c2448e797d142530c41 /boost/fusion/container/map/detail/at_impl.hpp | |
parent | 1a78a62555be32868418fe52f8e330c9d0f95d5a (diff) | |
download | boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.gz boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.bz2 boost-bb4dd8289b351fae6b55e303f189127a394a1edd.zip |
Imported Upstream version 1.51.0upstream/1.51.0
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 |