Get the latest tech news
A Type for Overload Set
Intro
The map(...) part is basically applying an operation ( str, “to-string”) to each element of the range, but does so lazily. There is another special ability that overload sets have: they can “collapse” into a concrete function pointer when given contextual type information: The problem is, we cannot find a set of template parameters that specializes g ’s operator() to be void(int), since we defined it as(auto&&... args).
Or read this on Hacker News