diff --git a/include/boost/fusion/algorithm/iteration/fold_fwd.hpp b/include/boost/fusion/algorithm/iteration/fold_fwd.hpp index 5bf9e816..f8328e80 100644 --- a/include/boost/fusion/algorithm/iteration/fold_fwd.hpp +++ b/include/boost/fusion/algorithm/iteration/fold_fwd.hpp @@ -18,7 +18,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::fold< + inline typename result_of::fold< Seq , State const , F @@ -27,7 +27,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::fold< + inline typename result_of::fold< Seq const , State const , F @@ -36,7 +36,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::fold< + inline typename result_of::fold< Seq , State const , F @@ -45,7 +45,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::fold< + inline typename result_of::fold< Seq const , State const , F diff --git a/include/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp b/include/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp index 84aabfde..6c595cf1 100644 --- a/include/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp +++ b/include/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp @@ -18,7 +18,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::iter_fold< + inline typename result_of::iter_fold< Seq , State const , F @@ -27,7 +27,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::iter_fold< + inline typename result_of::iter_fold< Seq const , State const , F @@ -36,7 +36,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::iter_fold< + inline typename result_of::iter_fold< Seq , State const , F @@ -45,7 +45,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::iter_fold< + inline typename result_of::iter_fold< Seq const , State const , F diff --git a/include/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp b/include/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp index 82fad70a..42c8ac21 100644 --- a/include/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp +++ b/include/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp @@ -18,7 +18,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_fold< + inline typename result_of::reverse_fold< Seq , State const , F @@ -27,7 +27,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_fold< + inline typename result_of::reverse_fold< Seq const , State const , F @@ -36,7 +36,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_fold< + inline typename result_of::reverse_fold< Seq , State const , F @@ -45,7 +45,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_fold< + inline typename result_of::reverse_fold< Seq const , State const , F diff --git a/include/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp b/include/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp index 9f002419..21d99dee 100644 --- a/include/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp +++ b/include/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp @@ -18,7 +18,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_iter_fold< + inline typename result_of::reverse_iter_fold< Seq , State const , F @@ -27,7 +27,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_iter_fold< + inline typename result_of::reverse_iter_fold< Seq const , State const , F @@ -36,7 +36,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_iter_fold< + inline typename result_of::reverse_iter_fold< Seq , State const , F @@ -45,7 +45,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::reverse_iter_fold< + inline typename result_of::reverse_iter_fold< Seq const , State const , F diff --git a/include/boost/fusion/algorithm/query/find_if_fwd.hpp b/include/boost/fusion/algorithm/query/find_if_fwd.hpp index 419a68c4..cbe9e5e9 100644 --- a/include/boost/fusion/algorithm/query/find_if_fwd.hpp +++ b/include/boost/fusion/algorithm/query/find_if_fwd.hpp @@ -22,7 +22,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename + inline typename lazy_disable_if< is_const , result_of::find_if @@ -31,7 +31,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename result_of::find_if::type const + inline typename result_of::find_if::type const find_if(Sequence const& seq); }} diff --git a/include/boost/fusion/algorithm/transformation/erase.hpp b/include/boost/fusion/algorithm/transformation/erase.hpp index 6ffdb4de..2d220947 100644 --- a/include/boost/fusion/algorithm/transformation/erase.hpp +++ b/include/boost/fusion/algorithm/transformation/erase.hpp @@ -100,7 +100,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename + inline typename lazy_enable_if< traits::is_sequence , typename result_of::erase @@ -123,7 +123,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename result_of::erase::type + inline typename result_of::erase::type erase(Sequence const& seq, First const& first, Last const& last) { typedef result_of::erase result_of; diff --git a/include/boost/fusion/iterator/deref.hpp b/include/boost/fusion/iterator/deref.hpp index b6fee6a5..c31962cb 100644 --- a/include/boost/fusion/iterator/deref.hpp +++ b/include/boost/fusion/iterator/deref.hpp @@ -56,7 +56,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::deref::type + inline typename result_of::deref::type deref(Iterator const& i) { typedef result_of::deref deref_meta; @@ -65,7 +65,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::deref::type + inline typename result_of::deref::type operator*(iterator_base const& i) { return fusion::deref(i.cast()); diff --git a/include/boost/fusion/iterator/deref_data.hpp b/include/boost/fusion/iterator/deref_data.hpp index 20d82ebf..65a43324 100644 --- a/include/boost/fusion/iterator/deref_data.hpp +++ b/include/boost/fusion/iterator/deref_data.hpp @@ -41,7 +41,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::deref_data::type + inline typename result_of::deref_data::type deref_data(It const& it) { return result_of::deref_data::call(it); diff --git a/include/boost/fusion/iterator/next.hpp b/include/boost/fusion/iterator/next.hpp index 20d3df94..d6ca3d66 100644 --- a/include/boost/fusion/iterator/next.hpp +++ b/include/boost/fusion/iterator/next.hpp @@ -55,7 +55,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::next::type const + inline typename result_of::next::type const next(Iterator const& i) { return result_of::next::call(i); diff --git a/include/boost/fusion/iterator/prior.hpp b/include/boost/fusion/iterator/prior.hpp index a3541280..80e891c7 100644 --- a/include/boost/fusion/iterator/prior.hpp +++ b/include/boost/fusion/iterator/prior.hpp @@ -55,7 +55,7 @@ namespace boost { namespace fusion template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - typename result_of::prior::type const + inline typename result_of::prior::type const prior(Iterator const& i) { return result_of::prior::call(i); diff --git a/include/boost/fusion/support/segmented_fold_until.hpp b/include/boost/fusion/support/segmented_fold_until.hpp index 8d3ea682..cf01fea4 100644 --- a/include/boost/fusion/support/segmented_fold_until.hpp +++ b/include/boost/fusion/support/segmented_fold_until.hpp @@ -46,7 +46,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename + inline typename lazy_disable_if< is_const , result_of::segmented_fold_until @@ -62,7 +62,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename result_of::segmented_fold_until::type + inline typename result_of::segmented_fold_until::type segmented_fold_until(Sequence const& seq, State const& state, Fun const& fun) { typedef diff --git a/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp b/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp index 7dc4506c..9a744a59 100644 --- a/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp +++ b/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp @@ -49,7 +49,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename + inline typename lazy_enable_if< traits::is_sequence , result_of::push_back @@ -58,7 +58,7 @@ namespace boost { namespace fusion template BOOST_FUSION_GPU_ENABLED - typename + inline typename lazy_enable_if< traits::is_sequence , result_of::push_front