| 44 | |
| 45 | template <class Container> |
| 46 | Container *one_to_n(int n) { |
| 47 | auto *v = new Container(); |
| 48 | for (int i = 1; i <= n; i++) { |
| 49 | v->emplace_back(i); |
| 50 | } |
| 51 | return v; |
| 52 | } |
| 53 | |
| 54 | template <class Map> |
| 55 | Map *times_ten(int n) { |
nothing calls this directly
no test coverage detected