|
2317 | 2317 |
|
2318 | 2318 | allocator_type get_allocator() const;
|
2319 | 2319 | explicit operator bool() const noexcept;
|
2320 |
| - [[nodiscard]] bool empty() const noexcept; |
| 2320 | + bool empty() const noexcept; |
2321 | 2321 |
|
2322 | 2322 | // \ref{container.node.modifiers}, modifiers
|
2323 | 2323 | void swap(@\placeholdernc{node-handle}@&)
|
|
2495 | 2495 | \end{itemdescr}
|
2496 | 2496 |
|
2497 | 2497 | \begin{itemdecl}
|
2498 |
| -[[nodiscard]] bool empty() const noexcept; |
| 2498 | +bool empty() const noexcept; |
2499 | 2499 | \end{itemdecl}
|
2500 | 2500 |
|
2501 | 2501 | \begin{itemdescr}
|
|
6306 | 6306 | constexpr const_reverse_iterator crend() const noexcept;
|
6307 | 6307 |
|
6308 | 6308 | // capacity
|
6309 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 6309 | + constexpr bool empty() const noexcept; |
6310 | 6310 | constexpr size_type size() const noexcept;
|
6311 | 6311 | constexpr size_type max_size() const noexcept;
|
6312 | 6312 |
|
|
6629 | 6629 | const_reverse_iterator crend() const noexcept;
|
6630 | 6630 |
|
6631 | 6631 | // \ref{deque.capacity}, capacity
|
6632 |
| - [[nodiscard]] bool empty() const noexcept; |
| 6632 | + bool empty() const noexcept; |
6633 | 6633 | size_type size() const noexcept;
|
6634 | 6634 | size_type max_size() const noexcept;
|
6635 | 6635 | void resize(size_type sz);
|
|
7088 | 7088 | const_iterator cend() const noexcept;
|
7089 | 7089 |
|
7090 | 7090 | // capacity
|
7091 |
| - [[nodiscard]] bool empty() const noexcept; |
| 7091 | + bool empty() const noexcept; |
7092 | 7092 | size_type max_size() const noexcept;
|
7093 | 7093 |
|
7094 | 7094 | // \ref{forward.list.access}, element access
|
|
7995 | 7995 | const_reverse_iterator crend() const noexcept;
|
7996 | 7996 |
|
7997 | 7997 | // \ref{list.capacity}, capacity
|
7998 |
| - [[nodiscard]] bool empty() const noexcept; |
| 7998 | + bool empty() const noexcept; |
7999 | 7999 | size_type size() const noexcept;
|
8000 | 8000 | size_type max_size() const noexcept;
|
8001 | 8001 | void resize(size_type sz);
|
|
8740 | 8740 | constexpr const_reverse_iterator crend() const noexcept;
|
8741 | 8741 |
|
8742 | 8742 | // \ref{vector.capacity}, capacity
|
8743 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 8743 | + constexpr bool empty() const noexcept; |
8744 | 8744 | constexpr size_type size() const noexcept;
|
8745 | 8745 | constexpr size_type max_size() const noexcept;
|
8746 | 8746 | constexpr size_type capacity() const noexcept;
|
|
9324 | 9324 | constexpr const_reverse_iterator crend() const noexcept;
|
9325 | 9325 |
|
9326 | 9326 | // capacity
|
9327 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 9327 | + constexpr bool empty() const noexcept; |
9328 | 9328 | constexpr size_type size() const noexcept;
|
9329 | 9329 | constexpr size_type max_size() const noexcept;
|
9330 | 9330 | constexpr size_type capacity() const noexcept;
|
|
10439 | 10439 | const_reverse_iterator crend() const noexcept;
|
10440 | 10440 |
|
10441 | 10441 | // capacity
|
10442 |
| - [[nodiscard]] bool empty() const noexcept; |
| 10442 | + bool empty() const noexcept; |
10443 | 10443 | size_type size() const noexcept;
|
10444 | 10444 | size_type max_size() const noexcept;
|
10445 | 10445 |
|
|
11178 | 11178 | const_reverse_iterator crend() const noexcept;
|
11179 | 11179 |
|
11180 | 11180 | // capacity
|
11181 |
| - [[nodiscard]] bool empty() const noexcept; |
| 11181 | + bool empty() const noexcept; |
11182 | 11182 | size_type size() const noexcept;
|
11183 | 11183 | size_type max_size() const noexcept;
|
11184 | 11184 |
|
|
11518 | 11518 | const_reverse_iterator crend() const noexcept;
|
11519 | 11519 |
|
11520 | 11520 | // capacity
|
11521 |
| - [[nodiscard]] bool empty() const noexcept; |
| 11521 | + bool empty() const noexcept; |
11522 | 11522 | size_type size() const noexcept;
|
11523 | 11523 | size_type max_size() const noexcept;
|
11524 | 11524 |
|
|
11877 | 11877 | const_reverse_iterator crend() const noexcept;
|
11878 | 11878 |
|
11879 | 11879 | // capacity
|
11880 |
| - [[nodiscard]] bool empty() const noexcept; |
| 11880 | + bool empty() const noexcept; |
11881 | 11881 | size_type size() const noexcept;
|
11882 | 11882 | size_type max_size() const noexcept;
|
11883 | 11883 |
|
|
12364 | 12364 | const_iterator cend() const noexcept;
|
12365 | 12365 |
|
12366 | 12366 | // capacity
|
12367 |
| - [[nodiscard]] bool empty() const noexcept; |
| 12367 | + bool empty() const noexcept; |
12368 | 12368 | size_type size() const noexcept;
|
12369 | 12369 | size_type max_size() const noexcept;
|
12370 | 12370 |
|
|
13161 | 13161 | const_iterator cend() const noexcept;
|
13162 | 13162 |
|
13163 | 13163 | // capacity
|
13164 |
| - [[nodiscard]] bool empty() const noexcept; |
| 13164 | + bool empty() const noexcept; |
13165 | 13165 | size_type size() const noexcept;
|
13166 | 13166 | size_type max_size() const noexcept;
|
13167 | 13167 |
|
|
13583 | 13583 | const_iterator cend() const noexcept;
|
13584 | 13584 |
|
13585 | 13585 | // capacity
|
13586 |
| - [[nodiscard]] bool empty() const noexcept; |
| 13586 | + bool empty() const noexcept; |
13587 | 13587 | size_type size() const noexcept;
|
13588 | 13588 | size_type max_size() const noexcept;
|
13589 | 13589 |
|
|
14006 | 14006 | const_iterator cend() const noexcept;
|
14007 | 14007 |
|
14008 | 14008 | // capacity
|
14009 |
| - [[nodiscard]] bool empty() const noexcept; |
| 14009 | + bool empty() const noexcept; |
14010 | 14010 | size_type size() const noexcept;
|
14011 | 14011 | size_type max_size() const noexcept;
|
14012 | 14012 |
|
|
14578 | 14578 | template<@\exposconcept{container-compatible-range}@<T> R, class Alloc>
|
14579 | 14579 | queue(from_range_t, R&& rg, const Alloc&);
|
14580 | 14580 |
|
14581 |
| - [[nodiscard]] bool empty() const { return c.empty(); } |
| 14581 | + bool empty() const { return c.empty(); } |
14582 | 14582 | size_type size() const { return c.size(); }
|
14583 | 14583 | reference front() { return c.front(); }
|
14584 | 14584 | const_reference front() const { return c.front(); }
|
|
14962 | 14962 | template<@\exposconcept{container-compatible-range}@<T> R, class Alloc>
|
14963 | 14963 | priority_queue(from_range_t, R&& rg, const Alloc&);
|
14964 | 14964 |
|
14965 |
| - [[nodiscard]] bool empty() const { return c.empty(); } |
14966 |
| - size_type size() const { return c.size(); } |
14967 |
| - const_reference top() const { return c.front(); } |
| 14965 | + bool empty() const { return c.empty(); } |
| 14966 | + size_type size() const { return c.size(); } |
| 14967 | + const_reference top() const { return c.front(); } |
14968 | 14968 | void push(const value_type& x);
|
14969 | 14969 | void push(value_type&& x);
|
14970 | 14970 | template<@\exposconcept{container-compatible-range}@<T> R>
|
@@ -15446,10 +15446,10 @@
|
15446 | 15446 | template<@\exposconcept{container-compatible-range}@<T> R, class Alloc>
|
15447 | 15447 | stack(from_range_t, R&& rg, const Alloc&);
|
15448 | 15448 |
|
15449 |
| - [[nodiscard]] bool empty() const { return c.empty(); } |
15450 |
| - size_type size() const { return c.size(); } |
| 15449 | + bool empty() const { return c.empty(); } |
| 15450 | + size_type size() const { return c.size(); } |
15451 | 15451 | reference top() { return c.back(); }
|
15452 |
| - const_reference top() const { return c.back(); } |
| 15452 | + const_reference top() const { return c.back(); } |
15453 | 15453 | void push(const value_type& x) { c.push_back(x); }
|
15454 | 15454 | void push(value_type&& x) { c.push_back(std::move(x)); }
|
15455 | 15455 | template<@\exposconcept{container-compatible-range}@<T> R>
|
|
19005 | 19005 | // \ref{span.obs}, observers
|
19006 | 19006 | constexpr size_type size() const noexcept;
|
19007 | 19007 | constexpr size_type size_bytes() const noexcept;
|
19008 |
| - [[nodiscard]] constexpr bool empty() const noexcept; |
| 19008 | + constexpr bool empty() const noexcept; |
19009 | 19009 |
|
19010 | 19010 | // \ref{span.elem}, element access
|
19011 | 19011 | constexpr reference operator[](size_type idx) const;
|
|
19505 | 19505 |
|
19506 | 19506 | \indexlibrarymember{span}{empty}%
|
19507 | 19507 | \begin{itemdecl}
|
19508 |
| -[[nodiscard]] constexpr bool empty() const noexcept; |
| 19508 | +constexpr bool empty() const noexcept; |
19509 | 19509 | \end{itemdecl}
|
19510 | 19510 |
|
19511 | 19511 | \begin{itemdescr}
|
|
0 commit comments