value::emplace_null

Replace with a null value.

Synopsis

void
emplace_null() noexcept;

Description

The current value is destroyed and the kind is changed to kind::null. The associated memeory resource is kept unchanged.

Complexity

Linear in the size of *this.

Exception Safety

No-throw guarantee.