22 #ifndef GEARS_STRING_TRIM_HPP
23 #define GEARS_STRING_TRIM_HPP
26 #include "classification.hpp"
49 template<
typename String,
typename UnaryPredicate>
53 return { str.substr(pos) };
77 template<
typename String,
typename UnaryPredicate>
81 return { str.substr(0, pos + 1) };
103 template<
typename String,
typename UnaryPredicate>
118 template<
typename String>
133 template<
typename String>
148 template<
typename String>
155 #endif // GEARS_STRING_TRIM_HPP