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

2024-12-19


571. References declared const

Section: 6.6  [basic.link]     Status: CD2     Submitter: Dave Abrahams     Date: 31 March 2006

[Voted into the WP at the March, 2009 meeting.]

According to 6.6 [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 is not possible to declare a reference to be const.

Proposed resolution (March, 2008):

Change 6.6 [basic.link] paragraph 3 as indicated (note addition of punctuation in the first bullet):

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