|
659 | 659 | exposition only; and
|
660 | 660 |
|
661 | 661 | \item
|
662 |
| -\textit{begin-expr} and \textit{end-expr} are determined as follows: |
| 662 | +\placeholder{begin-expr} and \placeholder{end-expr} are determined as follows: |
663 | 663 |
|
664 | 664 | \begin{itemize}
|
665 | 665 | \item if the \grammarterm{for-range-initializer} is an expression of
|
666 |
| -array type \tcode{R}, \textit{begin-expr} and \textit{end-expr} are |
| 666 | +array type \tcode{R}, \placeholder{begin-expr} and \placeholder{end-expr} are |
667 | 667 | \tcode{__range} and \tcode{__range + __bound}, respectively, where \tcode{__bound} is
|
668 |
| -the array bound. If \tcode{R} is an array of unknown size or an array of |
| 668 | +the array bound. If \tcode{R} is an array of unknown bound or an array of |
669 | 669 | incomplete type, the program is ill-formed;
|
670 | 670 |
|
671 | 671 | \item if the \grammarterm{for-range-initializer} is an expression of
|
672 | 672 | class type \tcode{C}, the \grammarterm{unqualified-id}{s}
|
673 | 673 | \tcode{begin} and \tcode{end} are looked up in the scope of \tcode{C}
|
674 | 674 | as if by class member access lookup~(\ref{basic.lookup.classref}), and if either
|
675 |
| -(or both) finds at least one declaration, \grammarterm{begin-expr} and |
676 |
| -\grammarterm{end-expr} are \tcode{__range.begin()} and \tcode{__range.end()}, |
| 675 | +(or both) finds at least one declaration, \placeholder{begin-expr} and |
| 676 | +\placeholder{end-expr} are \tcode{__range.begin()} and \tcode{__range.end()}, |
677 | 677 | respectively;
|
678 | 678 |
|
679 |
| -\item otherwise, \textit{begin-expr} and \textit{end-expr} are \tcode{begin(__range)} |
| 679 | +\item otherwise, \placeholder{begin-expr} and \placeholder{end-expr} are \tcode{begin(__range)} |
680 | 680 | and \tcode{end(__range)}, respectively, where \tcode{begin} and \tcode{end} are looked
|
681 | 681 | up in the associated namespaces~(\ref{basic.lookup.argdep}).
|
682 | 682 | \begin{note} Ordinary unqualified lookup~(\ref{basic.lookup.unqual}) is not
|
|
0 commit comments