| 23 | //------------------------------------------------------------------------------ |
| 24 | template <typename type> |
| 25 | bool |
| 26 | std_all_of(const typename std::vector<type> & v, const type value) |
| 27 | { |
| 28 | for (auto it = v.begin(); it != v.end(); ++it) |
| 29 | { |
| 30 | if (*it != value) |
| 31 | { |
| 32 | return false; |
| 33 | } |
| 34 | } |
| 35 | return true; |
| 36 | } |
| 37 | |
| 38 | |
| 39 | //------------------------------------------------------------------------------ |
nothing calls this directly
no outgoing calls
no test coverage detected