mirror of
https://github.com/boostorg/container.git
synced 2026-07-05 13:20:46 +02:00
forceinline trivial functions
This commit is contained in:
@@ -514,7 +514,7 @@ FwdIt find_last_dispatch(FwdIt first, FwdIt last, const T& val, std::forward_ite
|
||||
}
|
||||
|
||||
template<class It, class T>
|
||||
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<It>::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<class It, class Pred>
|
||||
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<It>::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<class It, class Pred>
|
||||
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<It>::iterator_category cat;
|
||||
return find_last_if_not_dispatch(first, last, pred, cat());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//Not benchmarked:
|
||||
//inplace_merge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user