Title
ODR vs alternative tokens
Status
review
Section
6.3 [basic.def.odr]
Submitter
Hubert Tong

Created on 2014-03-21.00:00:00 last changed 17 months ago

Messages

Date: 2023-05-12.20:59:33

CWG 2023-05-12

Addressed by issue 2726.

Date: 2022-09-25.18:08:42

According to 5.5 [lex.digraph] paragraph 2,

In all respects of the language, each alternative token behaves the same, respectively, as its primary token, except for its spelling.

However, the primary and alternative tokens are different tokens, which runs afoul of the ODR requirement in 6.3 [basic.def.odr] paragraph 6 that the definitions consist of the “same sequence of tokens.” This wording should be amended to allow for use of primary and alternative tokens.

History
Date User Action Args
2023-06-13 12:28:26adminsetstatus: ready -> review
2023-05-12 20:59:33adminsetmessages: + msg7278
2023-05-12 20:59:33adminsetstatus: drafting -> ready
2014-07-07 00:00:00adminsetstatus: open -> drafting
2014-03-21 00:00:00admincreate