We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03b88ce commit 9c123b4Copy full SHA for 9c123b4
source/statements.tex
@@ -46,10 +46,15 @@
46
\indextext{label!scope~of}%
47
The scope of a label is the function in which it appears. Labels shall
48
not be redeclared within a function. A label can be used in a
49
-\tcode{goto} statement before its definition.
+\tcode{goto} statement before its declaration.
50
\indextext{name~space!label}%
51
Labels have their own name space and do not interfere with other
52
identifiers.
53
+\enternote
54
+A label may have the same name as another declaration in the same scope or a
55
+\grammarterm{template-parameter} from an enclosing scope. Unqualified name
56
+lookup~(\ref{basic.lookup.unqual}) ignores labels.
57
+\exitnote
58
59
\pnum
60
\indextext{label!\idxcode{case}}%
0 commit comments