Hacker News new | ask | show | jobs
by earltedly 3745 days ago
I enjoyed the talk - thanks for doing it. There's an alternative though to the final approach of using a class template. You can actually do a typealias which fuses together multiple protocols into a single type. I've done a small example here:

https://gist.github.com/earltedly/67ab52c3c65ba22f6fa5