This pull request removes the boost/algorithm/string/predicate.hpp
dependency from the project.
To replace the the predicate.hpp
dependency from the project the function calls to boost::algorithm::starts_with
and boost::algorithm::ends_with
have been replaced with respectively C++11’s std::basic_string::front
and std::basic_string::back
function calls.
Refactors that were not required, but have been done anyways:
-
The Boost function
all
was implicitly made available via thepredicate.hpp
header. Instead of including the appropriate header, function calls toall
have been replaced with function calls tostd::all_of
. -
The
boost::algorithm::is_digit
predicate has been replaced with a customIsDigit
function that is locale independent and ASCII deterministic.