| 197 | } |
| 198 | |
| 199 | constexpr void destruct() noexcept(std::is_nothrow_destructible<T>::value) |
| 200 | { |
| 201 | if (this->active) |
| 202 | { |
| 203 | this->val.~T(); |
| 204 | this->active = false; |
| 205 | } |
| 206 | } |
| 207 | }; |
| 208 | |
| 209 | // --------------------------------------------------------------------------------------------------- |