diff --git a/source/basic.tex b/source/basic.tex index 8ad496d3d6..4d11742c0d 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -36,6 +36,12 @@ \grammarterm{conversion-function-id}\iref{class.conv.fct}, \grammarterm{operator-function-id}\iref{over.oper}, or \grammarterm{literal-operator-id}\iref{over.literal}. +A name has +\defnadj{external}{linkage}, +\defnadj{module}{linkage}, +\defnadj{internal}{linkage}, or +\defnadj{no}{linkage}, +as determined by the rules in \ref{basic.link}. \pnum Two names are \defnx{the same}{name!same} if @@ -157,6 +163,12 @@ refer to the same entity in these translation units depending on the linkage\iref{basic.link} of the name specified in each translation unit. +\begin{note} +All declarations of an entity with a name with internal linkage +appear in the same translation unit. +All declarations of an entity with module linkage +are attached to the same module. +\end{note} \rSec1[basic.def]{Declarations and definitions} @@ -2875,6 +2887,7 @@ \pnum \indextext{program}% +\indextext{translation unit}% \indextext{linking}% A \defn{program} consists of one or more translation units\iref{lex.separate} linked together. A translation unit consists @@ -2886,21 +2899,6 @@ \opt{global-module-fragment} module-declaration \opt{declaration-seq} \opt{private-module-fragment} \end{bnf} -\pnum -\indextext{translation unit}% -A name has -\defnadj{external}{linkage}, -\defnadj{module}{linkage}, -\defnadj{internal}{linkage}, or -\defnadj{no}{linkage}, -as determined by the rules below. -\begin{note} -All declarations of an entity with a name with internal linkage -appear in the same translation unit. -All declarations of an entity with module linkage -are attached to the same module. -\end{note} - \pnum \indextext{linkage!\idxcode{static} and}% \indextext{\idxcode{static}!linkage of}%
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: