Skip to content

Commit 0456a32

Browse files
Mick235711tkoeppe
authored andcommitted
[utility.syn, flat.map.defn] Remove all [[nodiscard]] from library wording
1 parent 9b6b757 commit 0456a32

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/containers.tex

+6-6
Original file line numberDiff line numberDiff line change
@@ -16012,7 +16012,7 @@
1601216012
const_reverse_iterator crend() const noexcept;
1601316013

1601416014
// \ref{flat.map.capacity}, capacity
16015-
[[nodiscard]] bool empty() const noexcept;
16015+
bool empty() const noexcept;
1601616016
size_type size() const noexcept;
1601716017
size_type max_size() const noexcept;
1601816018

@@ -17200,7 +17200,7 @@
1720017200
const_reverse_iterator crend() const noexcept;
1720117201

1720217202
// capacity
17203-
[[nodiscard]] bool empty() const noexcept;
17203+
bool empty() const noexcept;
1720417204
size_type size() const noexcept;
1720517205
size_type max_size() const noexcept;
1720617206

@@ -17756,7 +17756,7 @@
1775617756
const_reverse_iterator crend() const noexcept;
1775717757

1775817758
// capacity
17759-
[[nodiscard]] bool empty() const noexcept;
17759+
bool empty() const noexcept;
1776017760
size_type size() const noexcept;
1776117761
size_type max_size() const noexcept;
1776217762

@@ -18419,7 +18419,7 @@
1841918419
const_reverse_iterator crend() const noexcept;
1842018420

1842118421
// capacity
18422-
[[nodiscard]] bool empty() const noexcept;
18422+
bool empty() const noexcept;
1842318423
size_type size() const noexcept;
1842418424
size_type max_size() const noexcept;
1842518425

@@ -23217,7 +23217,7 @@
2321723217
constexpr reference operator[](const array<OtherIndexType, rank()>& indices) const;
2321823218

2321923219
constexpr size_type size() const noexcept;
23220-
[[nodiscard]] constexpr bool empty() const noexcept;
23220+
constexpr bool empty() const noexcept;
2322123221

2322223222
friend constexpr void swap(mdspan& x, mdspan& y) noexcept;
2322323223

@@ -23683,7 +23683,7 @@
2368323683

2368423684
\indexlibrarymember{empty}{mdspan}%
2368523685
\begin{itemdecl}
23686-
[[nodiscard]] constexpr bool empty() const noexcept;
23686+
constexpr bool empty() const noexcept;
2368723687
\end{itemdecl}
2368823688

2368923689
\begin{itemdescr}

source/utilities.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
template<class T>
5959
constexpr T&& forward(remove_reference_t<T>&& t) noexcept;
6060
template<class T, class U>
61-
[[nodiscard]] constexpr auto forward_like(U&& x) noexcept -> @\seebelow@;
61+
constexpr auto forward_like(U&& x) noexcept -> @\seebelow@;
6262
template<class T>
6363
constexpr remove_reference_t<T>&& move(T&&) noexcept;
6464
template<class T>

0 commit comments

Comments
 (0)