| 82 | |
| 83 | template <typename T> |
| 84 | T* copy(const T* begin, const T* end, T* out) { |
| 85 | for (; begin != end; ++begin) { |
| 86 | *out++ = *begin; |
| 87 | } |
| 88 | return out; |
| 89 | } |
| 90 | |
| 91 | template <typename T, typename Callback> |
| 92 | T* transform(const T* begin, const T* end, T* out, Callback callback) { |
no outgoing calls
no test coverage detected