|
3962 | 3962 | \begin{itemdescr}
|
3963 | 3963 | \pnum
|
3964 | 3964 | Let $\tcode{T}_j$ be a type that is determined as follows:
|
3965 |
| -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 |
| 3965 | +build an imaginary function \tcode{\placeholdernc{FUN}($\tcode{T}_i$)} |
| 3966 | +for each alternative type $\tcode{T}_i$ |
| 3967 | +for which \tcode{$\tcode{T}_i$ x[] =} \tcode{\{std::forward<T>(t)\};} |
| 3968 | +is well-formed for some invented variable \tcode{x} and, |
| 3969 | +if $\tcode{T}_i$ is \cv~\tcode{bool}, \tcode{remove_cvref_t<T>} is \tcode{bool}. |
| 3970 | +The overload \tcode{\placeholdernc{FUN}($\tcode{T}_j$)} selected by overload |
3966 | 3971 | resolution for the expression \tcode{\placeholdernc{FUN}(std::forward<T>(\brk{}t))} defines
|
3967 | 3972 | the alternative $\tcode{T}_j$ which is the type of the contained value after
|
3968 | 3973 | construction.
|
|
4257 | 4262 | \begin{itemdescr}
|
4258 | 4263 | \pnum
|
4259 | 4264 | Let $\tcode{T}_j$ be a type that is determined as follows:
|
4260 |
| -build an imaginary function \tcode{\placeholdernc{FUN}($\tcode{T}_i$)} for each alternative type |
4261 |
| -$\tcode{T}_i$. The overload \tcode{\placeholdernc{FUN}($\tcode{T}_j$)} selected by overload |
| 4265 | +build an imaginary function \tcode{\placeholdernc{FUN}($\tcode{T}_i$)} |
| 4266 | +for each alternative type $\tcode{T}_i$ |
| 4267 | +for which \tcode{$\tcode{T}_i$ x[] =} \tcode{\{std::forward<T>(t)\};} |
| 4268 | +is well-formed for some invented variable \tcode{x} and, |
| 4269 | +if $\tcode{T}_i$ is \cv~\tcode{bool}, \tcode{remove_cvref_t<T>} is \tcode{bool}. |
| 4270 | +The overload \tcode{\placeholdernc{FUN}($\tcode{T}_j$)} selected by overload |
4262 | 4271 | resolution for the expression \tcode{\placeholdernc{FUN}(std::forward<T>(\brk{}t))} defines
|
4263 | 4272 | the alternative $\tcode{T}_j$ which is the type of the contained value after
|
4264 | 4273 | assignment.
|
|
0 commit comments