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

Function trim_begin

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

Source from the content-addressed store, hash-verified

59 // Search for first non matching character from the beginning of the sequence
60 template< typename ForwardIteratorT, typename PredicateT >
61 inline ForwardIteratorT trim_begin(
62 ForwardIteratorT InBegin,
63 ForwardIteratorT InEnd,
64 PredicateT IsSpace )
65 {
66 ForwardIteratorT It=InBegin;
67 for(; It!=InEnd; ++It )
68 {
69 if (!IsSpace(*It))
70 return It;
71 }
72
73 return It;
74 }
75
76 // Search for first non matching character from the end of the sequence
77 template< typename ForwardIteratorT, typename PredicateT >

Callers 3

trim_left_copy_ifFunction · 0.85
trim_left_ifFunction · 0.85
trim_copy_ifFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected