|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-09-23 15:13:24
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk