I think the solution is actually a bit easier than the author leads to: don’t use naked collection types. Make a type called http_headers if you want to take http_headers, and wrap it up in an appropriate API. You’ll regret it if you don’t.
I think the solution is actually a bit easier than the author leads to: don’t use naked collection types. Make a type called http_headers if you want to take http_headers, and wrap it up in an appropriate API. You’ll regret it if you don’t.