A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/CWG/issues/1686.html below:

CWG Issue 1686

This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-08-11

1686. Which variables are “explicitly declared const?”Section: 6.7  [basic.link]     Status: CD4     Submitter: Daniel Krügler     Date: 2013-05-17

[Moved to DR at the November, 2014 meeting.]

According to 6.7 [basic.link] paragraph 3,

A name having namespace scope (6.4.6 [basic.scope.namespace]) has internal linkage if it is the name of

It would be more precise and less confusing if the phrase “explicitly declared const” were replaced by saying that its type is const-qualified. This change would also allow removal of the reference to constexpr, which was added by issue 1112 because constexpr variables are implicitly const-qualified but not covered by the “explicitly declared” phrasing.

Proposed resolution (September, 2013):

Change the second bullet of 6.7 [basic.link] paragraph 3 as follows:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4