https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123211

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2025-12-18
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Rather than cramming all of that into __distance_fn::operator(), which would
require declaring all the views before we define __distance_fn, we probably
just want to define an ADL customization point with a super-secret name like
__distance, and have __distance_fn check to see if __distance(r) is
well-formed. Then each view that thinks it can do better than the default can
have a hidden friend. Maybe better to just require it to be a member instead of
using ADL. We will control all the types that opt into this customization
point.

Reply via email to