| 2200 | TEST(find_if) |
| 2201 | { |
| 2202 | struct predicate |
| 2203 | { |
| 2204 | bool operator()(int i) const |
| 2205 | { |
| 2206 | return (i == 5); |
| 2207 | } |
| 2208 | }; |
| 2209 | |
| 2210 | int* itr1 = std::find_if(std::begin(dataA), std::end(dataA), predicate()); |
| 2211 | int* itr2 = etl::find_if(std::begin(dataA), std::end(dataA), predicate()); |
no outgoing calls