| 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< |
nothing calls this directly
no outgoing calls
no test coverage detected