Update reference docs to include [[nodiscard]] annotations

This commit is contained in:
Christian Mazakas
2022-02-23 14:36:04 -08:00
parent 3d952d3c0f
commit b57ac04728
4 changed files with 8 additions and 8 deletions

View File

@@ -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]