Skip to content

[utility.syn, flat.map.defn] Remove all [[nodiscard]] from library wording #7248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -23204,7 +23204,7 @@
constexpr reference operator[](const array<OtherIndexType, rank()>& 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;

Expand Down Expand Up @@ -23670,7 +23670,7 @@

\indexlibrarymember{empty}{mdspan}%
\begin{itemdecl}
[[nodiscard]] constexpr bool empty() const noexcept;
constexpr bool empty() const noexcept;
\end{itemdecl}

\begin{itemdescr}
Expand Down
2 changes: 1 addition & 1 deletion source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
template<class T>
constexpr T&& forward(remove_reference_t<T>&& t) noexcept;
template<class T, class U>
[[nodiscard]] constexpr auto forward_like(U&& x) noexcept -> @\seebelow@;
constexpr auto forward_like(U&& x) noexcept -> @\seebelow@;
template<class T>
constexpr remove_reference_t<T>&& move(T&&) noexcept;
template<class T>
Expand Down
Loading