diff options
Diffstat (limited to 'boost/fusion/container/map/detail/cpp03/at_impl.hpp')
-rw-r--r-- | boost/fusion/container/map/detail/cpp03/at_impl.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/boost/fusion/container/map/detail/cpp03/at_impl.hpp b/boost/fusion/container/map/detail/cpp03/at_impl.hpp index 8a3209d75a..b1044d7d8d 100644 --- a/boost/fusion/container/map/detail/cpp03/at_impl.hpp +++ b/boost/fusion/container/map/detail/cpp03/at_impl.hpp @@ -27,14 +27,14 @@ namespace boost { namespace fusion struct at_impl<map_tag> { template <typename Sequence, typename N> - struct apply + struct apply { - typedef typename - mpl::at<typename Sequence::storage_type::types, N>::type + typedef typename + mpl::at<typename Sequence::storage_type::types, N>::type element; typedef typename detail::ref_result<element>::type type; - - BOOST_FUSION_GPU_ENABLED + + BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED static type call(Sequence& m) { @@ -45,12 +45,12 @@ namespace boost { namespace fusion template <typename Sequence, typename N> struct apply<Sequence const, N> { - typedef typename - mpl::at<typename Sequence::storage_type::types, N>::type + typedef typename + mpl::at<typename Sequence::storage_type::types, N>::type element; typedef typename detail::cref_result<element>::type type; - - BOOST_FUSION_GPU_ENABLED + + BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED static type call(Sequence const& m) { |