C++ Logo

std-proposals

Advanced search

Re: FDL proposal: Function Dependent Lookup

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Thu, 24 Dec 2020 12:27:31 -0500
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.

Received on 2020-12-24 11:27:45