|
1954 | 1954 | \tcode{template<class... T>} \tcode{struct common_type;} |
1955 | 1955 | & |
1956 | 1956 | Unless this trait is specialized, |
1957 | | - the member \tcode{type} is defined or omitted as specified below. |
| 1957 | + the member \tcode{type} is declared or omitted as specified below. |
1958 | 1958 | If it is omitted, there shall be no member \tcode{type}. |
1959 | 1959 | Each type in the template parameter pack \tcode{T} shall be |
1960 | 1960 | complete, \cv{}~\keyword{void}, or an array of unknown bound. \\ \rowsep |
|
1972 | 1972 | \indexlibraryglobal{common_reference}% |
1973 | 1973 | \tcode{template<class... T>} \tcode{struct common_reference;} |
1974 | 1974 | & |
1975 | | - The member \grammarterm{typedef-name} \tcode{type} is defined or omitted |
| 1975 | + The member \grammarterm{typedef-name} \tcode{type} is declared or omitted |
1976 | 1976 | as specified below. Each type in the parameter pack \tcode{T} shall |
1977 | 1977 | be complete or \cv{} \keyword{void}. \\ \rowsep |
1978 | 1978 |
|
|
2086 | 2086 |
|
2087 | 2087 | \pnum |
2088 | 2088 | For the \tcode{common_type} trait applied to a template parameter pack \tcode{T} of types, |
2089 | | -the member \tcode{type} shall be either defined or not present as follows: |
| 2089 | +the member \tcode{type} shall be either declared or not present as follows: |
2090 | 2090 |
|
2091 | 2091 | \begin{itemize} |
2092 | 2092 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2159 | 2159 |
|
2160 | 2160 | \pnum |
2161 | 2161 | For the \tcode{common_reference} trait applied to a parameter pack |
2162 | | -\tcode{T} of types, the member \tcode{type} shall be either defined or not |
| 2162 | +\tcode{T} of types, the member \tcode{type} shall be either declared or not |
2163 | 2163 | present as follows: |
2164 | 2164 | \begin{itemize} |
2165 | 2165 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2229 | 2229 |
|
2230 | 2230 | \pnum |
2231 | 2231 | \begin{example} |
2232 | | -Given these definitions: |
| 2232 | +Given these declarations: |
2233 | 2233 | \begin{codeblock} |
2234 | 2234 | using PF1 = bool (&)(); |
2235 | 2235 | using PF2 = short (*)(long); |
|
0 commit comments