|
From: | Dmitry Gutov |
Subject: | bug#40671: [DOC] modify literal objects |
Date: | Sat, 25 Apr 2020 05:40:07 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 25.04.2020 05:21, Paul Eggert wrote:
That depends on what other programming languages we're talking about. The current use of 'constant' in the manual corresponds reasonably closely to 'const' objects in C and C++.
Since we're talking about non-scalar values, do you mean constant pointers to (generally) mutable objects? Or a constant aggregate of mutable objects?
When a value is constant in C or C++, you can't change it.
[Prev in Thread] | Current Thread | [Next in Thread] |