C++ Logo

std-proposals

Advanced search

Re: proposal: new const-able feature ( use "const?" , or new "constable" keyword) for method/function

From: Arvid Norberg <arvid.norberg_at_[hidden]>
Date: Fri, 13 Dec 2019 13:08:44 +0100
On Fri, Dec 13, 2019 at 7:58 AM jianping z via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Hi all,
>
> I have a proposal to add a const-able feature to the language in
> addition to "const" keyword. it can greatly reduce the duplicated code
> written for const and non-const method/function pair.
>

It sounds like this has some overlap with "Deducing this":
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0847r2.html

-- 
Arvid Norberg

Received on 2019-12-13 06:11:40