|
1712 | 1712 | \indexlibraryglobal{add_const}%
|
1713 | 1713 | \tcode{template<class T>\br
|
1714 | 1714 | struct add_const;} &
|
1715 |
| - If \tcode{T} is a reference, function, or top-level const-qualified |
1716 |
| - type, then \tcode{type} denotes \tcode{T}, otherwise |
1717 |
| - \tcode{T const}. \\ \rowsep |
| 1715 | + The member typedef \tcode{type} denotes \tcode{const T}. |
| 1716 | +\begin{tailnote} |
| 1717 | +\keyword{const} has no effect when \tcode{T} is a reference, function, or |
| 1718 | +top-level const-qualified type. |
| 1719 | +\end{tailnote} |
| 1720 | +\\ \rowsep |
1718 | 1721 |
|
1719 | 1722 | \indexlibraryglobal{add_volatile}%
|
1720 | 1723 | \tcode{template<class T>\br
|
1721 | 1724 | struct add_volatile;} &
|
1722 |
| - If \tcode{T} is a reference, function, or top-level volatile-qualified |
1723 |
| - type, then \tcode{type} denotes \tcode{T}, otherwise |
1724 |
| - \tcode{T volatile}. \\ \rowsep |
| 1725 | + The member typedef \tcode{type} denotes \tcode{volatile T}. |
| 1726 | +\begin{tailnote} |
| 1727 | +\keyword{volatile} has no effect when \tcode{T} is a reference, function, or |
| 1728 | +top-level volatile-qualified type. |
| 1729 | +\end{tailnote} |
| 1730 | +\\ \rowsep |
1725 | 1731 |
|
1726 | 1732 | \indexlibraryglobal{add_cv}%
|
1727 | 1733 | \tcode{template<class T>\br
|
1728 | 1734 | struct add_cv;} &
|
1729 |
| - The member typedef \tcode{type} denotes |
1730 |
| - \tcode{add_const_t<add_volatile_t<T>>}. \\ |
| 1735 | + The member typedef \tcode{type} denotes \tcode{const volatile T}. |
| 1736 | +\begin{tailnote} |
| 1737 | +\keyword{const} or \keyword{volatile} has no effect when \tcode{T} is a |
| 1738 | +reference, function, or top-level const- or volatile-qualified type, respectively. |
| 1739 | +\end{tailnote} |
| 1740 | +\\ |
1731 | 1741 | \end{libreqtab2a}
|
1732 | 1742 |
|
1733 | 1743 | \rSec3[meta.trans.ref]{Reference modifications}
|
|
0 commit comments