GNU bug report logs - #40671
[DOC] modify literal objects

Previous Next

Package: emacs;

Reported by: Kevin Vigouroux <ke.vigouroux <at> laposte.net>

Date: Thu, 16 Apr 2020 20:40:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #264 received at 40671 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>,
 Mattias EngdegÄrd <mattiase <at> acm.org>, 40671 <at> debbugs.gnu.org,
 Richard Stallman <rms <at> gnu.org>, ke.vigouroux <at> laposte.net
Subject: Re: bug#40671: [DOC] modify literal objects
Date: Wed, 29 Apr 2020 02:53:15 +0300
On 29.04.2020 02:10, Paul Eggert wrote:
> terminology used by C/C++/Fortran

Quote from https://en.cppreference.com/w/cpp/language/cv:

const object - an object whose type is const-qualified, or a non-mutable 
subobject of a const object. Such object _cannot_ be modified: attempt 
to do so directly is a _compile-time error_, and attempt to do so 
indirectly (e.g., by modifying the const object through a reference or 
pointer to non-const type) results in undefined behavior.

Emphasis mine.

I'll take a look at the commit, thanks.




This bug report was last modified 5 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.