How is CWG 426 resolved?

38 views
Skip to first unread message

xskxzr

unread,
Jan 20, 2018, 7:01:37 AM1/20/18
to ISO C++ Standard - Discussion
Hi all,

It seems that the proposed resolution does not solve the issue in the April 2006 notes. 

Notes from the April 2006 meeting:
According to 3.5 [basic.link] paragraph 9, the two variables with linkage in the proposed example are not “the same entity” because they do not have the same linkage. Some other formulation will be needed to describe the relationship between those two variables.

As a contrast, the C standard says "identifier" instead of "entity".

If, within a translation unit, the same identifier appears with both internal and external linkage, the behavior is undefined.

Am I missing something?

Thanks,
xskxzr
 


Reply all
Reply to author
Forward
0 new messages