|
12240 | 12240 | if that expression is valid,
|
12241 | 12241 | with overload resolution performed in a context that includes the declaration
|
12242 | 12242 | \begin{codeblock}
|
12243 |
| -template<class T> T abs(T) = delete; |
| 12243 | +template<class U> U abs(U) = delete; |
12244 | 12244 | \end{codeblock}
|
12245 | 12245 | If the function selected by overload resolution
|
12246 | 12246 | does not return the absolute value of its input,
|
|
12260 | 12260 | the expression \tcode{conj(E)} is valid,
|
12261 | 12261 | with overload resolution performed in a context that includes the declaration
|
12262 | 12262 | \begin{codeblock}
|
12263 |
| -template<class T> T conj(const T&) = delete; |
| 12263 | +template<class U> U conj(const U&) = delete; |
12264 | 12264 | \end{codeblock}
|
12265 | 12265 | If the function selected by overload resolution
|
12266 | 12266 | does not return the complex conjugate of its input,
|
|
12282 | 12282 | the expression \tcode{real(E)} is valid,
|
12283 | 12283 | with overload resolution performed in a context that includes the declaration
|
12284 | 12284 | \begin{codeblock}
|
12285 |
| -template<class T> T real(const T&) = delete; |
| 12285 | +template<class U> U real(const U&) = delete; |
12286 | 12286 | \end{codeblock}
|
12287 | 12287 | If the function selected by overload resolution
|
12288 | 12288 | does not return the real part of its input,
|
|
12304 | 12304 | is valid, with overload resolution performed in a context
|
12305 | 12305 | that includes the declaration
|
12306 | 12306 | \begin{codeblock}
|
12307 |
| -template<class T> T imag(const T&) = delete; |
| 12307 | +template<class U> U imag(const U&) = delete; |
12308 | 12308 | \end{codeblock}
|
12309 | 12309 | If the function selected by overload resolution
|
12310 | 12310 | does not return the imaginary part of its input,
|
|
0 commit comments