Subject: Re: [std-proposals] Proposal of constpub (DRAFT 1)
From: Vishal Oza (vickoza_at_[hidden])
Date: 2019-11-21 19:35:04
I am not sure I completely like the idea. Some issues I have are:
1. Do inherited classes are have access to write constpub variables?
2. Are there way to make const only const to the class? Once I create
and initialize the class I do not want to change some variables during the
lifetime of the object but I want to move and transfer ownership of the
object as well as use standard containers
3. Is constpub going to effect the nature or public, private and
4. Perhap you could also look into changing the nature of const to read
only field in class and struct definition in C++?
On Thu, Nov 21, 2019 at 4:34 AM Andrew Tomazos via Std-Proposals <
> Please find attached a 2-page draft proposal entitled:
> Proposal of constpub
> It seems a little thing but easy to implement and I think it may have
> broad appeal.
> Anyway, initial thoughts appreciated.
> Std-Proposals mailing list
STD-PROPOSALS list run by herb.sutter at gmail.com
Standard Proposals Archives on Google Groups