Hacker News new | past | comments | ask | show | jobs | submit
> In fact, std::span is a class template, and somebody would suggest to make the function that processes the generic memory blob a function template! Really? Something like this??

Yes.