|
2294 | 2294 | \tcode{template<class... T>} \tcode{struct common_type;} |
2295 | 2295 | & |
2296 | 2296 | Unless this trait is specialized, |
2297 | | - the member \tcode{type} is defined or omitted as specified below. |
| 2297 | + the member \tcode{type} is declared or omitted as specified below. |
2298 | 2298 | If it is omitted, there shall be no member \tcode{type}. |
2299 | 2299 | Each type in the template parameter pack \tcode{T} shall be |
2300 | 2300 | complete, \cv{}~\keyword{void}, or an array of unknown bound. \\ \rowsep |
|
2310 | 2310 |
|
2311 | 2311 | \tcode{template<class... T>} \tcode{struct \libglobal{common_reference};} |
2312 | 2312 | & |
2313 | | - The member \grammarterm{typedef-name} \tcode{type} is defined or omitted |
| 2313 | + The member \grammarterm{typedef-name} \tcode{type} is declared or omitted |
2314 | 2314 | as specified below. Each type in the parameter pack \tcode{T} shall |
2315 | 2315 | be complete or \cv{} \keyword{void}. \\ \rowsep |
2316 | 2316 |
|
|
2446 | 2446 |
|
2447 | 2447 | \pnum |
2448 | 2448 | For the \tcode{common_type} trait applied to a template parameter pack \tcode{T} of types, |
2449 | | -the member \tcode{type} shall be either defined or not present as follows: |
| 2449 | +the member \tcode{type} shall be either declared or not present as follows: |
2450 | 2450 |
|
2451 | 2451 | \begin{itemize} |
2452 | 2452 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2519 | 2519 |
|
2520 | 2520 | \pnum |
2521 | 2521 | For the \tcode{common_reference} trait applied to a parameter pack |
2522 | | -\tcode{T} of types, the member \tcode{type} shall be either defined or not |
| 2522 | +\tcode{T} of types, the member \tcode{type} shall be either declared or not |
2523 | 2523 | present as follows: |
2524 | 2524 | \begin{itemize} |
2525 | 2525 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2589 | 2589 |
|
2590 | 2590 | \pnum |
2591 | 2591 | \begin{example} |
2592 | | -Given these definitions: |
| 2592 | +Given these declarations: |
2593 | 2593 | \begin{codeblock} |
2594 | 2594 | using PF1 = bool (&)(); |
2595 | 2595 | using PF2 = short (*)(long); |
|
0 commit comments