| 76 | // Search for first non matching character from the end of the sequence |
| 77 | template< typename ForwardIteratorT, typename PredicateT > |
| 78 | inline ForwardIteratorT trim_end( |
| 79 | ForwardIteratorT InBegin, |
| 80 | ForwardIteratorT InEnd, |
| 81 | PredicateT IsSpace ) |
| 82 | { |
| 83 | typedef BOOST_STRING_TYPENAME |
| 84 | std::iterator_traits<ForwardIteratorT>::iterator_category category; |
| 85 | |
| 86 | return ::boost::algorithm::detail::trim_end_iter_select( InBegin, InEnd, IsSpace, category() ); |
| 87 | } |
| 88 | |
| 89 | |
| 90 | } // namespace detail |
no test coverage detected