|
1949 | 1949 | \tcode{template<class... T>} \tcode{struct common_type;} |
1950 | 1950 | & |
1951 | 1951 | Unless this trait is specialized, |
1952 | | - the member \tcode{type} is defined or omitted as specified below. |
| 1952 | + the member \tcode{type} is declared or omitted as specified below. |
1953 | 1953 | If it is omitted, there shall be no member \tcode{type}. |
1954 | 1954 | Each type in the template parameter pack \tcode{T} shall be |
1955 | 1955 | complete, \cv{}~\keyword{void}, or an array of unknown bound. \\ \rowsep |
|
1965 | 1965 |
|
1966 | 1966 | \tcode{template<class... T>} \tcode{struct \libglobal{common_reference};} |
1967 | 1967 | & |
1968 | | - The member \grammarterm{typedef-name} \tcode{type} is defined or omitted |
| 1968 | + The member \grammarterm{typedef-name} \tcode{type} is declared or omitted |
1969 | 1969 | as specified below. Each type in the parameter pack \tcode{T} shall |
1970 | 1970 | be complete or \cv{} \keyword{void}. \\ \rowsep |
1971 | 1971 |
|
|
2075 | 2075 |
|
2076 | 2076 | \pnum |
2077 | 2077 | For the \tcode{common_type} trait applied to a template parameter pack \tcode{T} of types, |
2078 | | -the member \tcode{type} shall be either defined or not present as follows: |
| 2078 | +the member \tcode{type} shall be either declared or not present as follows: |
2079 | 2079 |
|
2080 | 2080 | \begin{itemize} |
2081 | 2081 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2148 | 2148 |
|
2149 | 2149 | \pnum |
2150 | 2150 | For the \tcode{common_reference} trait applied to a parameter pack |
2151 | | -\tcode{T} of types, the member \tcode{type} shall be either defined or not |
| 2151 | +\tcode{T} of types, the member \tcode{type} shall be either declared or not |
2152 | 2152 | present as follows: |
2153 | 2153 | \begin{itemize} |
2154 | 2154 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2218 | 2218 |
|
2219 | 2219 | \pnum |
2220 | 2220 | \begin{example} |
2221 | | -Given these definitions: |
| 2221 | +Given these declarations: |
2222 | 2222 | \begin{codeblock} |
2223 | 2223 | using PF1 = bool (&)(); |
2224 | 2224 | using PF2 = short (*)(long); |
|
0 commit comments