C++ Logo

std-proposals

Advanced search

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

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Mon, 10 Jun 2024 15:27:21 +0100
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.

Received on 2024-06-10 14:27:33