MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / trim_left_copy_if

Function trim_left_copy_if

extern/boost/boost/algorithm/string/trim.hpp:61–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 */
60 template<typename OutputIteratorT, typename RangeT, typename PredicateT>
61 inline OutputIteratorT trim_left_copy_if(
62 OutputIteratorT Output,
63 const RangeT& Input,
64 PredicateT IsSpace)
65 {
66 iterator_range<BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type> lit_range(::boost::as_literal(Input));
67
68 std::copy(
69 ::boost::algorithm::detail::trim_begin(
70 ::boost::begin(lit_range),
71 ::boost::end(lit_range),
72 IsSpace ),
73 ::boost::end(lit_range),
74 Output);
75
76 return Output;
77 }
78
79 //! Left trim - parametric
80 /*!

Callers 1

trim_left_copyFunction · 0.85

Calls 5

as_literalFunction · 0.85
trim_beginFunction · 0.85
copyFunction · 0.50
beginClass · 0.50
endClass · 0.50

Tested by

no test coverage detected