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

@ -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(); }