Document operator* result lifetime
This commit is contained in:
@@ -90,7 +90,8 @@ struct VersionedMap {
|
|||||||
Iterator(Iterator &&) noexcept;
|
Iterator(Iterator &&) noexcept;
|
||||||
Iterator &operator=(Iterator &&) noexcept;
|
Iterator &operator=(Iterator &&) noexcept;
|
||||||
|
|
||||||
/** iter must not be `end()` */
|
/** iter must not be `end()`. Memory pointed-to by return value is valid as
|
||||||
|
* long as the iterator is valid. */
|
||||||
Mutation operator*() const;
|
Mutation operator*() const;
|
||||||
|
|
||||||
/** iter must not be `end()` */
|
/** iter must not be `end()` */
|
||||||
|
Reference in New Issue
Block a user