| 6 | template<auto sep = ' ', |
| 7 | typename T1, typename... Types> |
| 8 | void print(const T1& arg1, const Types&... args) |
| 9 | { |
| 10 | std::cout << arg1; |
| 11 | auto coutSpaceAndArg = [](const auto& arg) { |
| 12 | std::cout << sep << arg; |
| 13 | }; |
| 14 | |
| 15 | // we end up here with multiple parameters named 'args'. Other than that it would compile |
| 16 | (..., coutSpaceAndArg(args)); |
| 17 | } |
| 18 | |
| 19 | int main() |
| 20 | { |
no outgoing calls
no test coverage detected