| 332 | |
| 333 | template <typename Container1, typename Container2> |
| 334 | bool containersEqual(Container1 const& cont1, Container2 const& cont2) { |
| 335 | if (cont1.size() != cont2.size()) |
| 336 | return false; |
| 337 | else |
| 338 | return std::equal(cont1.begin(), cont1.end(), cont2.begin()); |
| 339 | } |
| 340 | |
| 341 | // Wraps a unary function to produce an output iterator |
| 342 | template <typename UnaryFunction> |
no test coverage detected