| 39 | //------------------------------------------------------------------------------ |
| 40 | template <typename type> |
| 41 | bool |
| 42 | std_first_of(const typename std::vector<type> & v, const std::size_t n, const type value) |
| 43 | { |
| 44 | for (std::size_t i = 0; i < n; ++i) |
| 45 | { |
| 46 | if (v[i] != value) |
| 47 | { |
| 48 | return false; |
| 49 | } |
| 50 | } |
| 51 | return true; |
| 52 | } |
| 53 | |
| 54 | |
| 55 | //------------------------------------------------------------------------------ |
nothing calls this directly
no outgoing calls
no test coverage detected