...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::one_of
// In header: <boost/algorithm/cxx11/one_of.hpp> template<typename InputIterator, typename Predicate> BOOST_CXX14_CONSTEXPR bool one_of(InputIterator first, InputIterator last, Predicate p);