|
1811 | 1811 |
|
1812 | 1812 | \begin{itemdescr}
|
1813 | 1813 | \pnum
|
1814 |
| -Let \tcode{\placeholder{TS}} denote \tcode{tuple_size<T>} of the \cv-unqualified type \tcode{T}. |
1815 |
| -If the expression \tcode{\placeholder{TS}::value} is well-formed |
| 1814 | +Let \tcode{TS} denote \tcode{tuple_size<T>} of the \cv-unqualified type \tcode{T}. |
| 1815 | +If the expression \tcode{TS::value} is well-formed |
1816 | 1816 | when treated as an unevaluated operand, then each
|
1817 | 1817 | of the three templates shall meet the \tcode{UnaryTypeTrait} requirements\iref{meta.rqmts}
|
1818 | 1818 | with a base characteristic of
|
1819 | 1819 | \begin{codeblock}
|
1820 |
| -integral_constant<size_t, @\placeholder{TS}@::value> |
| 1820 | +integral_constant<size_t, TS::value> |
1821 | 1821 | \end{codeblock}
|
1822 | 1822 | Otherwise, they shall have no member \tcode{value}.
|
1823 | 1823 |
|
1824 | 1824 | \pnum
|
1825 | 1825 | Access checking is performed as if in a context
|
1826 |
| -unrelated to \tcode{\placeholder{TS}} and \tcode{T}. |
| 1826 | +unrelated to \tcode{TS} and \tcode{T}. |
1827 | 1827 | Only the validity of the immediate context of the expression is considered.
|
1828 | 1828 | \begin{note}
|
1829 | 1829 | The compilation of the expression can result in side effects
|
|
1848 | 1848 |
|
1849 | 1849 | \begin{itemdescr}
|
1850 | 1850 | \pnum
|
1851 |
| -Let \tcode{\placeholder{TE}} denote \tcode{tuple_element_t<I, T>} of the \cv-unqualified type \tcode{T}. Then |
| 1851 | +Let \tcode{TE} denote \tcode{tuple_element_t<I, T>} of the \cv-unqualified type \tcode{T}. Then |
1852 | 1852 | each of the three templates shall meet the \tcode{TransformationTrait}
|
1853 | 1853 | requirements\iref{meta.rqmts} with a member typedef \tcode{type} that names the following
|
1854 | 1854 | type:
|
1855 | 1855 |
|
1856 | 1856 | \begin{itemize}
|
1857 | 1857 | \item
|
1858 |
| -for the first specialization, \tcode{add_const_t<\placeholder{TE}>}, |
| 1858 | +for the first specialization, \tcode{add_const_t<TE>}, |
1859 | 1859 | \item
|
1860 |
| -for the second specialization, \tcode{add_volatile_t<\placeholder{TE}>}, and |
| 1860 | +for the second specialization, \tcode{add_volatile_t<TE>}, and |
1861 | 1861 | \item
|
1862 |
| -for the third specialization, \tcode{add_cv_t<\placeholder{TE}>}. |
| 1862 | +for the third specialization, \tcode{add_cv_t<TE>}. |
1863 | 1863 | \end{itemize}
|
1864 | 1864 |
|
1865 | 1865 | \pnum
|
|
8877 | 8877 |
|
8878 | 8878 | \begin{itemdescr}
|
8879 | 8879 | \pnum
|
8880 |
| -\requires Let \tcode{\placeholder{CT}} denote |
| 8880 | +\requires Let \tcode{CT} denote |
8881 | 8881 | \begin{codeblock}
|
8882 | 8882 | common_type_t<typename unique_ptr<T1, D1>::pointer,
|
8883 | 8883 | typename unique_ptr<T2, D2>::pointer>
|
8884 | 8884 | \end{codeblock}
|
8885 | 8885 | Then the specialization
|
8886 |
| -\tcode{less<\placeholder{CT}>} shall be a function object type\iref{function.objects} that |
| 8886 | +\tcode{less<CT>} shall be a function object type\iref{function.objects} that |
8887 | 8887 | induces a strict weak ordering\iref{alg.sorting} on the pointer values.
|
8888 | 8888 |
|
8889 | 8889 | \pnum
|
8890 |
| -\returns \tcode{less<\placeholder{CT}>()(x.get(), y.get())}. |
| 8890 | +\returns \tcode{less<CT>()(x.get(), y.get())}. |
8891 | 8891 |
|
8892 | 8892 | \pnum
|
8893 | 8893 | \remarks If \tcode{unique_ptr<T1, D1>::pointer} is not implicitly convertible
|
8894 |
| -to \tcode{\placeholder{CT}} or \tcode{unique_ptr<T2, D2>::pointer} is not implicitly |
8895 |
| -convertible to \tcode{\placeholder{CT}}, the program is ill-formed. |
| 8894 | +to \tcode{CT} or \tcode{unique_ptr<T2, D2>::pointer} is not implicitly |
| 8895 | +convertible to \tcode{CT}, the program is ill-formed. |
8896 | 8896 | \end{itemdescr}
|
8897 | 8897 |
|
8898 | 8898 | \indexlibrarymember{operator<=}{unique_ptr}%
|
|
18294 | 18294 | \rSec3[time.duration.comparisons]{\tcode{duration} comparisons}
|
18295 | 18295 |
|
18296 | 18296 | \pnum
|
18297 |
| -In the function descriptions that follow, \tcode{\placeholder{CT}} represents |
| 18297 | +In the function descriptions that follow, \tcode{CT} represents |
18298 | 18298 | \tcode{common_type_t<A, B>}, where \tcode{A} and \tcode{B} are the types of
|
18299 | 18299 | the two arguments to the function.
|
18300 | 18300 |
|
|
18307 | 18307 |
|
18308 | 18308 | \begin{itemdescr}
|
18309 | 18309 | \pnum
|
18310 |
| -\returns \tcode{\placeholder{CT}(lhs).count() == \placeholder{CT}(rhs).count()}. |
| 18310 | +\returns \tcode{CT(lhs).count() == CT(rhs).count()}. |
18311 | 18311 | \end{itemdescr}
|
18312 | 18312 |
|
18313 | 18313 | \indexlibrarymember{operator"!=}{duration}%
|
|
18331 | 18331 |
|
18332 | 18332 | \begin{itemdescr}
|
18333 | 18333 | \pnum
|
18334 |
| -\returns \tcode{\placeholder{CT}(lhs).count() < \placeholder{CT}(rhs).count()}. |
| 18334 | +\returns \tcode{CT(lhs).count() < CT(rhs).count()}. |
18335 | 18335 | \end{itemdescr}
|
18336 | 18336 |
|
18337 | 18337 | \indexlibrarymember{operator<=}{duration}%
|
|
18760 | 18760 |
|
18761 | 18761 | \begin{itemdescr}
|
18762 | 18762 | \pnum
|
18763 |
| -\returns \tcode{\placeholder{CT}(lhs.time_since_epoch() + rhs)}, where \tcode{\placeholder{CT}} is the type of the return value. |
| 18763 | +\returns \tcode{CT(lhs.time_since_epoch() + rhs)}, where \tcode{CT} is the type of the return value. |
18764 | 18764 | \end{itemdescr}
|
18765 | 18765 |
|
18766 | 18766 | \indexlibrarymember{operator+}{time_point}%
|
|
18786 | 18786 |
|
18787 | 18787 | \begin{itemdescr}
|
18788 | 18788 | \pnum
|
18789 |
| -\returns \tcode{\placeholder{CT}(lhs.time_since_epoch() - rhs)}, |
18790 |
| -where \tcode{\placeholder{CT}} is the type of the return value. |
| 18789 | +\returns \tcode{CT(lhs.time_since_epoch() - rhs)}, |
| 18790 | +where \tcode{CT} is the type of the return value. |
18791 | 18791 | \end{itemdescr}
|
18792 | 18792 |
|
18793 | 18793 | \indexlibrarymember{operator-}{time_point}%
|
|
0 commit comments