mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
Update reference docs to include [[nodiscard]]
annotations
This commit is contained in:
@ -87,7 +87,7 @@ namespace boost {
|
||||
const_iterator xref:#unordered_map_cend[cend]() const noexcept;
|
||||
|
||||
// capacity
|
||||
bool xref:#unordered_map_empty[empty]() const noexcept;
|
||||
++[[nodiscard]]++ bool xref:#unordered_map_empty[empty]() const noexcept;
|
||||
size_type xref:#unordered_map_size[size]() const noexcept;
|
||||
size_type xref:#unordered_map_max_size[max_size]() const noexcept;
|
||||
|
||||
@ -629,7 +629,7 @@ Returns:;; A `const_iterator` which refers to the past-the-end value for the con
|
||||
==== empty
|
||||
|
||||
```c++
|
||||
bool empty() const noexcept;
|
||||
[[nodiscard]] bool empty() const noexcept;
|
||||
```
|
||||
|
||||
[horizontal]
|
||||
|
@ -88,7 +88,7 @@ namespace boost {
|
||||
const_iterator xref:#unordered_multimap_cend[cend]() const noexcept;
|
||||
|
||||
// capacity
|
||||
bool xref:#unordered_multimap_empty[empty]() const noexcept;
|
||||
++[[nodiscard]]++ bool xref:#unordered_multimap_empty[empty]() const noexcept;
|
||||
size_type xref:#unordered_multimap_size[size]() const noexcept;
|
||||
size_type xref:#unordered_multimap_max_size[max_size]() const noexcept;
|
||||
|
||||
@ -612,7 +612,7 @@ Returns:;; A `const_iterator` which refers to the past-the-end value for the con
|
||||
==== empty
|
||||
|
||||
```c++
|
||||
bool empty() const noexcept;
|
||||
[[nodiscard]] bool empty() const noexcept;
|
||||
```
|
||||
|
||||
[horizontal]
|
||||
|
@ -84,7 +84,7 @@ namespace boost {
|
||||
const_iterator xref:#unordered_multiset_cend[cend]() const noexcept;
|
||||
|
||||
// capacity
|
||||
bool xref:#unordered_multiset_empty[empty]() const noexcept;
|
||||
++[[nodiscard]]++ bool xref:#unordered_multiset_empty[empty]() const noexcept;
|
||||
size_type xref:#unordered_multiset_size[size]() const noexcept;
|
||||
size_type xref:#unordered_multiset_max_size[max_size]() const noexcept;
|
||||
|
||||
@ -607,7 +607,7 @@ Returns:;; A `const_iterator` which refers to the past-the-end value for the con
|
||||
==== empty
|
||||
|
||||
```c++
|
||||
bool empty() const noexcept;
|
||||
[[nodiscard]] bool empty() const noexcept;
|
||||
```
|
||||
|
||||
[horizontal]
|
||||
|
@ -85,7 +85,7 @@ namespace boost {
|
||||
const_iterator xref:#unordered_set_cend[cend]() const noexcept;
|
||||
|
||||
// capacity
|
||||
bool xref:#unordered_set_empty[empty]() const noexcept;
|
||||
++[[nodiscard]]++ bool xref:#unordered_set_empty[empty]() const noexcept;
|
||||
size_type xref:#unordered_set_size[size]() const noexcept;
|
||||
size_type xref:#unordered_set_max_size[max_size]() const noexcept;
|
||||
|
||||
@ -618,7 +618,7 @@ Returns:;; A `const_iterator` which refers to the past-the-end value for the con
|
||||
==== empty
|
||||
|
||||
```c++
|
||||
bool empty() const noexcept;
|
||||
[[nodiscard]] bool empty() const noexcept;
|
||||
```
|
||||
|
||||
[horizontal]
|
||||
|
Reference in New Issue
Block a user