Remove deprecation mark from reset()

The `std::optional` has `reset()` [optional.mod] and it is not deprecated.
This commit is contained in:
Nikita Kniazev
2018-10-23 02:20:23 +03:00
committed by Andrzej Krzemienski
parent 106f9aee5e
commit bebc606a4c
6 changed files with 13 additions and 12 deletions

View File

@ -541,7 +541,7 @@ __SPACE__
[#reference_optional_reset]
[: `void optional<T>::reset() noexcept ;`]
* [*Deprecated:] Same as `operator=( none_t );`
* [*Effects:] Same as `operator=( none_t );`
__SPACE__
@ -1129,8 +1129,7 @@ __SPACE__
[#reference_optional_ref_reset]
[: `void optional<T&>::reset() noexcept;`]
* [*Effects:] Use `*this = none` instead.
* [*Remarks:] This function is depprecated.
* [*Effects:] Same as `*this = none`.
__SPACE__