forked from boostorg/optional
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
@ -332,7 +332,7 @@ class optional_base : public optional_tag
|
||||
|
||||
public :
|
||||
|
||||
// **DEPPRECATED** Destroys the current value, if any, leaving this UNINITIALIZED
|
||||
// Destroys the current value, if any, leaving this UNINITIALIZED
|
||||
// No-throw (assuming T::~T() doesn't)
|
||||
void reset() BOOST_NOEXCEPT { destroy(); }
|
||||
|
||||
|
Reference in New Issue
Block a user