It may be simple to copy those two lines, but it's deep compiler magic that really should be wrapped up in a library function, to prevent boilerplate code that few people understand from proliferating. There's also benefit to standardizing on one name instead of having `foo::overload` and `bar::overloaded` in many places.
Part 1 of landing a patch would be to get approval to use fold expressions (either generally, or just to implement this). I believe it's possible to implement this without them, it's just much more verbose. I thought I'd get consensus on whether adding the function was a good idea before opening that topic.
For the record, I haven't landed anything that would use `overloaded`, but I've had 2 WIP CL's that could have used it except that I refactored them to not use variants for other reasons before submitting them. Not sure if that's a signal that the function is useful (because I almost used it twice), or that it's not useful (because both times I found a better way).