Remove deprecation mark from reset()

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

No files matched your search

+2 -3
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__