Skip to content

Commit cd69bbc

Browse files
committed
[basic.scope.scope] Update the note about special cases
1 parent 0ca05d2 commit cd69bbc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/basic.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,9 @@
933933
certain \grammarterm{elaborated-type-specifier}s\iref{dcl.type.elab}
934934
target a larger enclosing scope.
935935
\item
936-
Block-scope extern declarations target a larger enclosing scope
937-
but bind a name in their immediate scope.
936+
Declarations in block scope that have \tcode{extern} specifier
937+
or declare a function target an innermost namespace scope
938+
but bind a name in their immediate scope\iref{dcl.meaning}.
938939
\item
939940
The names of unscoped enumerators are bound
940941
in the two innermost enclosing scopes\iref{dcl.enum}.

0 commit comments

Comments
 (0)