Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.90.0.
Change the kind to null, discarding the previous contents.
void emplace_null() noexcept;
The value is replaced with a null, destroying the previous contents.
Linear in the size of *this.
No-throw guarantee.