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
allwas implicitly made available via thepredicate.hppheader. Instead of including the appropriate header, function calls toallhave been replaced with function calls tostd::all_of. -
The
boost::algorithm::is_digitpredicate has been replaced with a customIsDigitfunction that is locale independent and ASCII deterministic.