From 4f8446b5f119a0b262c1370034a34c89ffe1da8d Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Sun, 18 Dec 2016 11:35:32 -0800 Subject: [PATCH] Fix typos in [mem.poly.allocator.mem]/9.1 and /9.5 (There is no "T" in scope.) --- source/utilities.tex | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/source/utilities.tex b/source/utilities.tex index 67480f70d4..757d3526ee 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -65,7 +65,7 @@ T exchange(T& obj, U&& new_val); // \ref{forward}, forward/move - template + template constexpr T&& forward(remove_reference_t& t) noexcept; template constexpr T&& forward(remove_reference_t&& t) noexcept; @@ -2260,7 +2260,7 @@ constexpr const tuple_element_t>& get(const tuple& t) noexcept; // Note B template - constexpr const tuple_element_t>&& get(const tuple&& t) noexcept; + constexpr const tuple_element_t>&& get(const tuple&& t) noexcept; \end{itemdecl} \begin{itemdescr} @@ -5341,7 +5341,7 @@ T any_cast(any& operand); template T any_cast(any&& operand); - + template const T* any_cast(const any* operand) noexcept; template @@ -10246,7 +10246,7 @@ template weak_ptr& operator=(const weak_ptr& r) noexcept; template weak_ptr& operator=(const shared_ptr& r) noexcept; weak_ptr& operator=(weak_ptr&& r) noexcept; - template weak_ptr& operator=(weak_ptr&& r) noexcept; + template weak_ptr& operator=(weak_ptr&& r) noexcept; // \ref{util.smartptr.weak.mod}, modifiers void swap(weak_ptr& r) noexcept; @@ -11226,7 +11226,7 @@ If \tcode{uses_allocator_v} is \tcode{false} \\ and -\tcode{is_constructible_v} is \tcode{true}, +\tcode{is_constructible_v} is \tcode{true}, \\ then \tcode{xprime} is \tcode{x}. \item @@ -11253,7 +11253,7 @@ If \tcode{uses_allocator_v} is \tcode{false} \\ and -\tcode{is_constructible_v} is \tcode{true}, +\tcode{is_constructible_v} is \tcode{true}, \\ then \tcode{yprime} is \tcode{y}. \item @@ -12800,7 +12800,7 @@ struct default_order; template - using default_order_t = typename default_order::type; + using default_order_t = typename default_order::type; // \ref{func.bind}, function object binders template constexpr bool is_bind_expression_v @@ -12884,7 +12884,7 @@ \item \tcode{t1.*f} when \tcode{N == 1} and \tcode{f} is a pointer to data member of a class \tcode{T} and \tcode{is_base_of_v>} is \tcode{true}; - + \item \tcode{t1.get().*f} when \tcode{N == 1} and \tcode{f} is a pointer to data member of a class \tcode{T} and \tcode{decay_t} is a specialization of \tcode{reference_wrapper}; @@ -15202,7 +15202,7 @@ template struct is_callable; // not defined template struct is_callable; - + template struct is_nothrow_callable; // not defined template struct is_nothrow_callable; @@ -15270,7 +15270,7 @@ // \ref{meta.trans.other}, other transformations template // see \ref{meta.trans.other} - struct aligned_storage; + struct aligned_storage; template struct aligned_union; template struct decay; template struct enable_if; @@ -15296,7 +15296,7 @@ template using underlying_type_t = typename underlying_type::type; template - using result_of_t = typename result_of::type; + using result_of_t = typename result_of::type; template using void_t = void; @@ -16821,10 +16821,10 @@ The specialization \tcode{conjunction} has a public and unambiguous base that is either \begin{itemize} -\item +\item the first type \tcode{Bi} in the list \tcode{true_type, B1, ..., BN} for which \tcode{bool(Bi::value)} is \tcode{false}, or -\item +\item if there is no such \tcode{Bi}, the last type in the list. \end{itemize} \begin{note} This means a specialization of \tcode{conjunction}