News for hackers. Stuff that matters.
Re:C++ Coroutines Do Not Spark Joy by tux3 on Monday November 01, 2021 @03:24PM (#29071689)
Note that impl is not exactly equivalent. If the type passed in is ambiguous, with an explicit template the caller can disambiguate, but with impl there's no template argument.

So sometimes you still want to use the "old" syntax in your public APIs, even when you could be using an impl trait

There are no comments on this comment yet.