C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] proposal: new const-able feature ( use "const?" , or new "constable" keyword) for method/function
From: Arvid Norberg (arvid.norberg_at_[hidden])
Date: 2019-12-13 06:08:44


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


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

Standard Proposals Archives on Google Groups