C++ Logo

std-proposals

Advanced search

Re: [std-proposals] declfunc - parameters deduced from arguments

From: Gašper Ažman <gasper.azman_at_[hidden]>
Date: Mon, 10 Jun 2024 17:37:45 +0100
That's a library function you are free to propose

On Mon, Jun 10, 2024, 15:27 Frederick Virchanza Gotham via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> On Thu, Jun 6, 2024 at 12:07 AM Gašper Ažman wrote:
> >
> > Thanks for the typo corrections.
> >
> > The rest is an extra feature that is orthogonal to declcall and needs
> its own paper.
>
>
> I wonder would it be useful to have something like 'declcall_apply',
> so that the programmer can determine the overload that would be called
> by using a tuple, sort of like this:
>
> https://godbolt.org/z/cPeY8hqh7
>
> I really hope declcall makes it into the language.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2024-06-10 16:37:58