From 7d63dfea952a763b15a11ff3551c38bc83d3f529 Mon Sep 17 00:00:00 2001 From: Yihe Li Date: Thu, 5 Sep 2024 23:59:58 +0800 Subject: [PATCH] [utility.syn, flat.map.defn] Remove all [[nodiscard]] from library wording --- source/containers.tex | 12 ++++++------ source/utilities.tex | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/containers.tex b/source/containers.tex index fd863c72e2..97c006fb04 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -15999,7 +15999,7 @@ const_reverse_iterator crend() const noexcept; // \ref{flat.map.capacity}, capacity - [[nodiscard]] bool empty() const noexcept; + bool empty() const noexcept; size_type size() const noexcept; size_type max_size() const noexcept; @@ -17187,7 +17187,7 @@ const_reverse_iterator crend() const noexcept; // capacity - [[nodiscard]] bool empty() const noexcept; + bool empty() const noexcept; size_type size() const noexcept; size_type max_size() const noexcept; @@ -17743,7 +17743,7 @@ const_reverse_iterator crend() const noexcept; // capacity - [[nodiscard]] bool empty() const noexcept; + bool empty() const noexcept; size_type size() const noexcept; size_type max_size() const noexcept; @@ -18406,7 +18406,7 @@ const_reverse_iterator crend() const noexcept; // capacity - [[nodiscard]] bool empty() const noexcept; + bool empty() const noexcept; size_type size() const noexcept; size_type max_size() const noexcept; @@ -23204,7 +23204,7 @@ constexpr reference operator[](const array& indices) const; constexpr size_type size() const noexcept; - [[nodiscard]] constexpr bool empty() const noexcept; + constexpr bool empty() const noexcept; friend constexpr void swap(mdspan& x, mdspan& y) noexcept; @@ -23670,7 +23670,7 @@ \indexlibrarymember{empty}{mdspan}% \begin{itemdecl} -[[nodiscard]] constexpr bool empty() const noexcept; +constexpr bool empty() const noexcept; \end{itemdecl} \begin{itemdescr} diff --git a/source/utilities.tex b/source/utilities.tex index e70d3bbdd5..5392dd2501 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -58,7 +58,7 @@ template constexpr T&& forward(remove_reference_t&& t) noexcept; template - [[nodiscard]] constexpr auto forward_like(U&& x) noexcept -> @\seebelow@; + constexpr auto forward_like(U&& x) noexcept -> @\seebelow@; template constexpr remove_reference_t&& move(T&&) noexcept; template