C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] FDL proposal: Function Dependent Lookup
From: Jason McKesson (jmckesson_at_[hidden])
Date: 2020-12-24 11:27:31


On Thu, Dec 24, 2020 at 12:48 AM Paco Arjonilla via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> The motivation for the proposal is to enable named keyword arguments without polluting the scope.

If you want named arguments to C++, then make a proposal for named
arguments. This is a kludge intended to let people build some ad-hoc
named argument system. C++ doesn't need more kludges like this.

And like most named-argument proposals, it fails the forward-ability
test. You can't forward named arguments through, for example, an
`emplace` call to a constructor.


STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups