summaryrefslogtreecommitdiff
path: root/boost/fusion/iterator/deref.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/iterator/deref.hpp')
-rw-r--r--boost/fusion/iterator/deref.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/fusion/iterator/deref.hpp b/boost/fusion/iterator/deref.hpp
index a608b0a..c31962c 100644
--- a/boost/fusion/iterator/deref.hpp
+++ b/boost/fusion/iterator/deref.hpp
@@ -55,8 +55,8 @@ namespace boost { namespace fusion
}
template <typename Iterator>
- BOOST_FUSION_GPU_ENABLED
- typename result_of::deref<Iterator>::type
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
+ inline typename result_of::deref<Iterator>::type
deref(Iterator const& i)
{
typedef result_of::deref<Iterator> deref_meta;
@@ -64,8 +64,8 @@ namespace boost { namespace fusion
}
template <typename Iterator>
- BOOST_FUSION_GPU_ENABLED
- typename result_of::deref<Iterator>::type
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
+ inline typename result_of::deref<Iterator>::type
operator*(iterator_base<Iterator> const& i)
{
return fusion::deref(i.cast());