| 232 | */ |
| 233 | template<typename SequenceT, typename PredicateT> |
| 234 | inline void trim_right_if(SequenceT& Input, PredicateT IsSpace) |
| 235 | { |
| 236 | Input.erase( |
| 237 | ::boost::algorithm::detail::trim_end( |
| 238 | ::boost::begin(Input), |
| 239 | ::boost::end(Input), |
| 240 | IsSpace ), |
| 241 | ::boost::end(Input) |
| 242 | ); |
| 243 | } |
| 244 | |
| 245 | |
| 246 | //! Right trim |