diff --git a/experimental/bench_segmented_algos.cpp b/experimental/bench_segmented_algos.cpp index a55bb6a..46142a7 100644 --- a/experimental/bench_segmented_algos.cpp +++ b/experimental/bench_segmented_algos.cpp @@ -514,7 +514,7 @@ FwdIt find_last_dispatch(FwdIt first, FwdIt last, const T& val, std::forward_ite } template -It find_last(It first, It last, const T& val) +BOOST_CONTAINER_FORCEINLINE It find_last(It first, It last, const T& val) { typedef typename std::iterator_traits::iterator_category cat; return find_last_dispatch(first, last, val, cat()); @@ -541,7 +541,7 @@ FwdIt find_last_if_dispatch(FwdIt first, FwdIt last, Pred pred, std::forward_ite } template -It find_last_if(It first, It last, Pred pred) +BOOST_CONTAINER_FORCEINLINE It find_last_if(It first, It last, Pred pred) { typedef typename std::iterator_traits::iterator_category cat; return find_last_if_dispatch(first, last, pred, cat()); @@ -568,15 +568,13 @@ FwdIt find_last_if_not_dispatch(FwdIt first, FwdIt last, Pred pred, std::forward } template -It find_last_if_not(It first, It last, Pred pred) +BOOST_CONTAINER_FORCEINLINE It find_last_if_not(It first, It last, Pred pred) { typedef typename std::iterator_traits::iterator_category cat; return find_last_if_not_dispatch(first, last, pred, cat()); } - - //Not benchmarked: //inplace_merge