News for hackers. Stuff that matters.
Re:Named Parameters in C++20 by spanishgum on Monday September 07, 2020 @01:39PM (#24401049)
How about `std::make_from_tuple` for constructors or `std::apply` for functions (C++17)?

It might be a bit verbose, but I think I would still prefer this over native syntax for unpacking.

Re:Named Parameters in C++20 by adrift on Monday September 07, 2020 @02:23PM (#24401371)
Why would you kill your compile times like that.
Re:Named Parameters in C++20 by marvy on Tuesday September 08, 2020 @01:27AM (#24405444)
This mostly solves the unpacking problem. Thus, there are only two problems left:

1. I need to handcraft the tuple type myself, and make sure it matches the function declaration. (In other words, I don't want to manually write tuple<char, short>. I want to write foo::arg_tuple.)

2. This provides no support for named parameters. Tuples in C++ are numbered, not named.