Date: Wed, 5 Mar 2025 14:18:17 +0000
On Wed, Mar 5, 2025 at 1:33 PM Thiago Macieira <thiago_at_[hidden]> wrote:
>
> On Wednesday, 5 March 2025 04:41:39 Pacific Standard Time Frederick Virchanza
> Gotham wrote:
> > Do you mean that we would write "std::function_defargs" something like
> > as follows if we could use reflection?
>
> I'm asking you the exact opposite: can you use reflection to extract the
> default arguments?
Are you talking specifically about this paper?
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2996r9.html
It's a bit of a mammoth, but I gave it a scroll through. Unless I've
missed something, I don't see any part where you can get a function's
default arguments.
>
> On Wednesday, 5 March 2025 04:41:39 Pacific Standard Time Frederick Virchanza
> Gotham wrote:
> > Do you mean that we would write "std::function_defargs" something like
> > as follows if we could use reflection?
>
> I'm asking you the exact opposite: can you use reflection to extract the
> default arguments?
Are you talking specifically about this paper?
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2996r9.html
It's a bit of a mammoth, but I gave it a scroll through. Unless I've
missed something, I don't see any part where you can get a function's
default arguments.
Received on 2025-03-05 14:18:30