|
2298 | 2298 | \tcode{template<class... T>} \tcode{struct common_type;} |
2299 | 2299 | & |
2300 | 2300 | Unless this trait is specialized, |
2301 | | - the member \tcode{type} is defined or omitted as specified below. |
| 2301 | + the member \tcode{type} is declared or omitted as specified below. |
2302 | 2302 | If it is omitted, there shall be no member \tcode{type}. |
2303 | 2303 | Each type in the template parameter pack \tcode{T} shall be |
2304 | 2304 | complete, \cv{}~\keyword{void}, or an array of unknown bound. \\ \rowsep |
|
2314 | 2314 |
|
2315 | 2315 | \tcode{template<class... T>} \tcode{struct \libglobal{common_reference};} |
2316 | 2316 | & |
2317 | | - The member \grammarterm{typedef-name} \tcode{type} is defined or omitted |
| 2317 | + The member \grammarterm{typedef-name} \tcode{type} is declared or omitted |
2318 | 2318 | as specified below. Each type in the parameter pack \tcode{T} shall |
2319 | 2319 | be complete or \cv{} \keyword{void}. \\ \rowsep |
2320 | 2320 |
|
|
2450 | 2450 |
|
2451 | 2451 | \pnum |
2452 | 2452 | For the \tcode{common_type} trait applied to a template parameter pack \tcode{T} of types, |
2453 | | -the member \tcode{type} shall be either defined or not present as follows: |
| 2453 | +the member \tcode{type} shall be either declared or not present as follows: |
2454 | 2454 |
|
2455 | 2455 | \begin{itemize} |
2456 | 2456 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2523 | 2523 |
|
2524 | 2524 | \pnum |
2525 | 2525 | For the \tcode{common_reference} trait applied to a parameter pack |
2526 | | -\tcode{T} of types, the member \tcode{type} shall be either defined or not |
| 2526 | +\tcode{T} of types, the member \tcode{type} shall be either declared or not |
2527 | 2527 | present as follows: |
2528 | 2528 | \begin{itemize} |
2529 | 2529 | \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. |
|
2593 | 2593 |
|
2594 | 2594 | \pnum |
2595 | 2595 | \begin{example} |
2596 | | -Given these definitions: |
| 2596 | +Given these declarations: |
2597 | 2597 | \begin{codeblock} |
2598 | 2598 | using PF1 = bool (&)(); |
2599 | 2599 | using PF2 = short (*)(long); |
|
0 commit comments