mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 20:17:21 +02:00
Remove deprecation mark from reset()
The `std::optional` has `reset()` [optional.mod] and it is not deprecated.
This commit is contained in:
committed by
Andrzej Krzemienski
parent
106f9aee5e
commit
bebc606a4c
@ -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__
|
||||
|
||||
|
Reference in New Issue
Block a user