23 Sep
2020
23 Sep
'20
3:13 p.m.
Scott Determan wrote:
My understanding is when implementing a tag_invoke customization point it should be a hidden friend because it improves compile times by keeping overload sets smaller. If that is best practice (and it may not be; I'm not a tag_invoke expert), [...]
It is indeed a best practice, for the reason you give. That's especially important for tag_invoke, because all overloads share the same name.