Destroys the optional and its value if it has one.

Synopsis

Declared in <beman/optional/optional.hpp>

constexpr
~optional()
requires (!std::is_trivially_destructible_v<T>);

Created with MrDocs