C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Named argument

From: Andrew Tomazos <andrewtomazos_at_[hidden]>
Date: Wed, 5 Apr 2023 19:18:39 +1000
https://docs.google.com/document/d/14sQA95BVz8F7y-tqXxqXiRENvEusn8MzZgoBXMu4UbI/edit?usp=sharing

On Wed, Apr 5, 2023 at 5:04 PM bmon Dor via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Named argument was proposed at Paper
> <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4172.htm> ten
> years ago but it was rejected by the reason "lack of sufficient motivation
> for the change.".However, the situation has changed a lot now. Descriptive
> UI is quite popular now. In that style, you can define a Text Like this:
> Text("Hello world", style: TextStyle())
> And there is no need to fulfill all other needless arguments(their values
> are default).
> By the way, a lot of modern languages have this feature like Python, Dart.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2023-04-05 09:18:53