MCPcopy Create free account
hub / github.com/boostorg/parser / all_of

Function all_of

include/boost/parser/detail/text/algorithm.hpp:244–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242 /** Sentinel-friendly version of `std::all_of()`. */
243 template<typename Iter, typename Sentinel, typename Pred>
244 bool all_of(Iter first, Sentinel last, Pred p)
245 {
246 for (; first != last; ++first) {
247 if (!p(*first))
248 return false;
249 }
250 return true;
251 }
252
253 /** Sentinel-friendly version of `std::equal()`. */
254 template<

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected