|
2301 | 2301 |
|
2302 | 2302 | allocator_type get_allocator() const;
|
2303 | 2303 | explicit operator bool() const noexcept;
|
2304 |
| - [[nodiscard]] bool empty() const noexcept; |
| 2304 | + bool empty() const noexcept; |
2305 | 2305 |
|
2306 | 2306 | // \ref{container.node.modifiers}, modifiers
|
2307 | 2307 | void swap(@\placeholdernc{node-handle}@&)
|
|
2479 | 2479 | \end{itemdescr}
|
2480 | 2480 |
|
2481 | 2481 | \begin{itemdecl}
|
2482 |
| -[[nodiscard]] bool empty() const noexcept; |
| 2482 | +bool empty() const noexcept; |
2483 | 2483 | \end{itemdecl}
|
2484 | 2484 |
|
2485 | 2485 | \begin{itemdescr}
|
|
6267 | 6267 | constexpr const_reverse_iterator crend() const noexcept;
|
6268 | 6268 |
|
6269 | 6269 | // capacity
|
6270 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 6270 | + constexpr bool empty() const noexcept; |
6271 | 6271 | constexpr size_type size() const noexcept;
|
6272 | 6272 | constexpr size_type max_size() const noexcept;
|
6273 | 6273 |
|
|
6590 | 6590 | const_reverse_iterator crend() const noexcept;
|
6591 | 6591 |
|
6592 | 6592 | // \ref{deque.capacity}, capacity
|
6593 |
| - [[nodiscard]] bool empty() const noexcept; |
| 6593 | + bool empty() const noexcept; |
6594 | 6594 | size_type size() const noexcept;
|
6595 | 6595 | size_type max_size() const noexcept;
|
6596 | 6596 | void resize(size_type sz);
|
|
7049 | 7049 | const_iterator cend() const noexcept;
|
7050 | 7050 |
|
7051 | 7051 | // capacity
|
7052 |
| - [[nodiscard]] bool empty() const noexcept; |
| 7052 | + bool empty() const noexcept; |
7053 | 7053 | size_type max_size() const noexcept;
|
7054 | 7054 |
|
7055 | 7055 | // \ref{forward.list.access}, element access
|
|
7956 | 7956 | const_reverse_iterator crend() const noexcept;
|
7957 | 7957 |
|
7958 | 7958 | // \ref{list.capacity}, capacity
|
7959 |
| - [[nodiscard]] bool empty() const noexcept; |
| 7959 | + bool empty() const noexcept; |
7960 | 7960 | size_type size() const noexcept;
|
7961 | 7961 | size_type max_size() const noexcept;
|
7962 | 7962 | void resize(size_type sz);
|
|
8701 | 8701 | constexpr const_reverse_iterator crend() const noexcept;
|
8702 | 8702 |
|
8703 | 8703 | // \ref{vector.capacity}, capacity
|
8704 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 8704 | + constexpr bool empty() const noexcept; |
8705 | 8705 | constexpr size_type size() const noexcept;
|
8706 | 8706 | constexpr size_type max_size() const noexcept;
|
8707 | 8707 | constexpr size_type capacity() const noexcept;
|
|
9285 | 9285 | constexpr const_reverse_iterator crend() const noexcept;
|
9286 | 9286 |
|
9287 | 9287 | // capacity
|
9288 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 9288 | + constexpr bool empty() const noexcept; |
9289 | 9289 | constexpr size_type size() const noexcept;
|
9290 | 9290 | constexpr size_type max_size() const noexcept;
|
9291 | 9291 | constexpr size_type capacity() const noexcept;
|
|
9746 | 9746 | const_reverse_iterator crend() const noexcept;
|
9747 | 9747 |
|
9748 | 9748 | // capacity
|
9749 |
| - [[nodiscard]] bool empty() const noexcept; |
| 9749 | + bool empty() const noexcept; |
9750 | 9750 | size_type size() const noexcept;
|
9751 | 9751 | size_type max_size() const noexcept;
|
9752 | 9752 |
|
|
10485 | 10485 | const_reverse_iterator crend() const noexcept;
|
10486 | 10486 |
|
10487 | 10487 | // capacity
|
10488 |
| - [[nodiscard]] bool empty() const noexcept; |
| 10488 | + bool empty() const noexcept; |
10489 | 10489 | size_type size() const noexcept;
|
10490 | 10490 | size_type max_size() const noexcept;
|
10491 | 10491 |
|
|
10825 | 10825 | const_reverse_iterator crend() const noexcept;
|
10826 | 10826 |
|
10827 | 10827 | // capacity
|
10828 |
| - [[nodiscard]] bool empty() const noexcept; |
| 10828 | + bool empty() const noexcept; |
10829 | 10829 | size_type size() const noexcept;
|
10830 | 10830 | size_type max_size() const noexcept;
|
10831 | 10831 |
|
|
11184 | 11184 | const_reverse_iterator crend() const noexcept;
|
11185 | 11185 |
|
11186 | 11186 | // capacity
|
11187 |
| - [[nodiscard]] bool empty() const noexcept; |
| 11187 | + bool empty() const noexcept; |
11188 | 11188 | size_type size() const noexcept;
|
11189 | 11189 | size_type max_size() const noexcept;
|
11190 | 11190 |
|
|
11671 | 11671 | const_iterator cend() const noexcept;
|
11672 | 11672 |
|
11673 | 11673 | // capacity
|
11674 |
| - [[nodiscard]] bool empty() const noexcept; |
| 11674 | + bool empty() const noexcept; |
11675 | 11675 | size_type size() const noexcept;
|
11676 | 11676 | size_type max_size() const noexcept;
|
11677 | 11677 |
|
|
12468 | 12468 | const_iterator cend() const noexcept;
|
12469 | 12469 |
|
12470 | 12470 | // capacity
|
12471 |
| - [[nodiscard]] bool empty() const noexcept; |
| 12471 | + bool empty() const noexcept; |
12472 | 12472 | size_type size() const noexcept;
|
12473 | 12473 | size_type max_size() const noexcept;
|
12474 | 12474 |
|
|
12890 | 12890 | const_iterator cend() const noexcept;
|
12891 | 12891 |
|
12892 | 12892 | // capacity
|
12893 |
| - [[nodiscard]] bool empty() const noexcept; |
| 12893 | + bool empty() const noexcept; |
12894 | 12894 | size_type size() const noexcept;
|
12895 | 12895 | size_type max_size() const noexcept;
|
12896 | 12896 |
|
|
13313 | 13313 | const_iterator cend() const noexcept;
|
13314 | 13314 |
|
13315 | 13315 | // capacity
|
13316 |
| - [[nodiscard]] bool empty() const noexcept; |
| 13316 | + bool empty() const noexcept; |
13317 | 13317 | size_type size() const noexcept;
|
13318 | 13318 | size_type max_size() const noexcept;
|
13319 | 13319 |
|
|
13885 | 13885 | template<@\exposconcept{container-compatible-range}@<T> R, class Alloc>
|
13886 | 13886 | queue(from_range_t, R&& rg, const Alloc&);
|
13887 | 13887 |
|
13888 |
| - [[nodiscard]] bool empty() const { return c.empty(); } |
| 13888 | + bool empty() const { return c.empty(); } |
13889 | 13889 | size_type size() const { return c.size(); }
|
13890 | 13890 | reference front() { return c.front(); }
|
13891 | 13891 | const_reference front() const { return c.front(); }
|
|
14269 | 14269 | template<@\exposconcept{container-compatible-range}@<T> R, class Alloc>
|
14270 | 14270 | priority_queue(from_range_t, R&& rg, const Alloc&);
|
14271 | 14271 |
|
14272 |
| - [[nodiscard]] bool empty() const { return c.empty(); } |
14273 |
| - size_type size() const { return c.size(); } |
14274 |
| - const_reference top() const { return c.front(); } |
| 14272 | + bool empty() const { return c.empty(); } |
| 14273 | + size_type size() const { return c.size(); } |
| 14274 | + const_reference top() const { return c.front(); } |
14275 | 14275 | void push(const value_type& x);
|
14276 | 14276 | void push(value_type&& x);
|
14277 | 14277 | template<@\exposconcept{container-compatible-range}@<T> R>
|
@@ -14753,10 +14753,10 @@
|
14753 | 14753 | template<@\exposconcept{container-compatible-range}@<T> R, class Alloc>
|
14754 | 14754 | stack(from_range_t, R&& rg, const Alloc&);
|
14755 | 14755 |
|
14756 |
| - [[nodiscard]] bool empty() const { return c.empty(); } |
14757 |
| - size_type size() const { return c.size(); } |
| 14756 | + bool empty() const { return c.empty(); } |
| 14757 | + size_type size() const { return c.size(); } |
14758 | 14758 | reference top() { return c.back(); }
|
14759 |
| - const_reference top() const { return c.back(); } |
| 14759 | + const_reference top() const { return c.back(); } |
14760 | 14760 | void push(const value_type& x) { c.push_back(x); }
|
14761 | 14761 | void push(value_type&& x) { c.push_back(std::move(x)); }
|
14762 | 14762 | template<@\exposconcept{container-compatible-range}@<T> R>
|
|
18312 | 18312 | // \ref{span.obs}, observers
|
18313 | 18313 | constexpr size_type size() const noexcept;
|
18314 | 18314 | constexpr size_type size_bytes() const noexcept;
|
18315 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 18315 | + constexpr bool empty() const noexcept; |
18316 | 18316 |
|
18317 | 18317 | // \ref{span.elem}, element access
|
18318 | 18318 | constexpr reference operator[](size_type idx) const;
|
|
18811 | 18811 |
|
18812 | 18812 | \indexlibrarymember{span}{empty}%
|
18813 | 18813 | \begin{itemdecl}
|
18814 |
| -[[nodiscard]] constexpr bool empty() const noexcept; |
| 18814 | +constexpr bool empty() const noexcept; |
18815 | 18815 | \end{itemdecl}
|
18816 | 18816 |
|
18817 | 18817 | \begin{itemdescr}
|
|
0 commit comments