|
1935 | 1935 | \tcode{template<class... T>} \tcode{struct common_type;} |
1936 | 1936 | & |
1937 | 1937 | Unless this trait is specialized (as specified in Note B, below), |
1938 | | - the member \tcode{type} is defined or omitted as specified in Note A, below. |
| 1938 | + the member \tcode{type} is declared or omitted as specified in Note A, below. |
1939 | 1939 | If it is omitted, there shall be no member \tcode{type}. |
1940 | 1940 | Each type in the template parameter pack \tcode{T} shall be |
1941 | 1941 | complete, \cv{}~\keyword{void}, or an array of unknown bound. \\ \rowsep |
|
1953 | 1953 | \indexlibraryglobal{common_reference}% |
1954 | 1954 | \tcode{template<class... T>} \tcode{struct common_reference;} |
1955 | 1955 | & |
1956 | | - The member \grammarterm{typedef-name} \tcode{type} is defined or omitted |
| 1956 | + The member \grammarterm{typedef-name} \tcode{type} is declared or omitted |
1957 | 1957 | as specified in Note C, below. Each type in the parameter pack \tcode{T} shall |
1958 | 1958 | be complete or \cv{} \keyword{void}. \\ \rowsep |
1959 | 1959 |
|
|
2068 | 2068 | \pnum |
2069 | 2069 | Note A: |
2070 | 2070 | For the \tcode{common_type} trait applied to a template parameter pack \tcode{T} of types, |
2071 | | -the member \tcode{type} shall be either defined or not present as follows: |
| 2071 | +the member \tcode{type} shall be either declared or not present as follows: |
2072 | 2072 |
|
2073 | 2073 | \begin{itemize} |
2074 | 2074 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2141 | 2141 |
|
2142 | 2142 | \pnum |
2143 | 2143 | Note C: For the \tcode{common_reference} trait applied to a parameter pack |
2144 | | -\tcode{T} of types, the member \tcode{type} shall be either defined or not |
| 2144 | +\tcode{T} of types, the member \tcode{type} shall be either declared or not |
2145 | 2145 | present as follows: |
2146 | 2146 | \begin{itemize} |
2147 | 2147 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2211 | 2211 |
|
2212 | 2212 | \pnum |
2213 | 2213 | \begin{example} |
2214 | | -Given these definitions: |
| 2214 | +Given these declarations: |
2215 | 2215 | \begin{codeblock} |
2216 | 2216 | using PF1 = bool (&)(); |
2217 | 2217 | using PF2 = short (*)(long); |
|
0 commit comments