|
3984 | 3984 | \begin{itemdescr}
|
3985 | 3985 | \pnum
|
3986 | 3986 | Let $\tcode{T}_j$ be a type that is determined as follows:
|
3987 |
| -build an imaginary function \tcode{\placeholdernc{FUN}($\tcode{T}_i$)} for each alternative type $\tcode{T}_i$. The overload \tcode{\placeholdernc{FUN}($\tcode{T}_j$)} selected by overload |
| 3987 | +build an imaginary function \tcode{\placeholdernc{FUN}($\tcode{T}_i$)} |
| 3988 | +for each alternative type $\tcode{T}_i$ |
| 3989 | +for which \tcode{$\tcode{T}_i$ x[] =} \tcode{\{std::forward<T>(t)\};} |
| 3990 | +is well-formed for some invented variable \tcode{x} and, |
| 3991 | +if $\tcode{T}_i$ is \cv~\tcode{bool}, \tcode{remove_cvref_t<T>} is \tcode{bool}. |
| 3992 | +The overload \tcode{\placeholdernc{FUN}($\tcode{T}_j$)} selected by overload |
3988 | 3993 | resolution for the expression \tcode{\placeholdernc{FUN}(std::forward<T>(\brk{}t))} defines
|
3989 | 3994 | the alternative $\tcode{T}_j$ which is the type of the contained value after
|
3990 | 3995 | construction.
|
|
4288 | 4293 | \begin{itemdescr}
|
4289 | 4294 | \pnum
|
4290 | 4295 | Let $\tcode{T}_j$ be a type that is determined as follows:
|
4291 |
| -build an imaginary function \tcode{\placeholdernc{FUN}($\tcode{T}_i$)} for each alternative type |
4292 |
| -$\tcode{T}_i$. The overload \tcode{\placeholdernc{FUN}($\tcode{T}_j$)} selected by overload |
| 4296 | +build an imaginary function \tcode{\placeholdernc{FUN}($\tcode{T}_i$)} |
| 4297 | +for each alternative type $\tcode{T}_i$ |
| 4298 | +for which \tcode{$\tcode{T}_i$ x[] =} \tcode{\{std::forward<T>(t)\};} |
| 4299 | +is well-formed for some invented variable \tcode{x} and, |
| 4300 | +if $\tcode{T}_i$ is \cv~\tcode{bool}, \tcode{remove_cvref_t<T>} is \tcode{bool}. |
| 4301 | +The overload \tcode{\placeholdernc{FUN}($\tcode{T}_j$)} selected by overload |
4293 | 4302 | resolution for the expression \tcode{\placeholdernc{FUN}(std::forward<T>(\brk{}t))} defines
|
4294 | 4303 | the alternative $\tcode{T}_j$ which is the type of the contained value after
|
4295 | 4304 | assignment.
|
|
0 commit comments