Date: Sat, 9 Aug 2025 23:34:19 +0300
On Sat, 9 Aug 2025 at 23:23, Avi Kivity <avi_at_[hidden]> wrote:
> > However.. ..should we have a function object version of
> > make_from_tuple somewhere in this bigger picture?
>
>
> With p3312:
>
> std::bind_front(&std::apply, &T::T)
I don't think that paper or its general approach is a solution we can
expect to have. The problem with it and various predecessors
is that it doesn't capture overload sets that have ADL-only overloads
in them. There are some thoughts how to approach
solving that part of the problem, but they are not baked.
> > However.. ..should we have a function object version of
> > make_from_tuple somewhere in this bigger picture?
>
>
> With p3312:
>
> std::bind_front(&std::apply, &T::T)
I don't think that paper or its general approach is a solution we can
expect to have. The problem with it and various predecessors
is that it doesn't capture overload sets that have ADL-only overloads
in them. There are some thoughts how to approach
solving that part of the problem, but they are not baked.
Received on 2025-08-09 20:34:32