...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards
...one of the most highly regarded and expertly designed C++ library projects in the world.
value
value::emplace_null
value::~value
value::emplace_bool
string
array
object
storage_ptr
Replace with a null value.
void emplace_null() noexcept;
The current value is destroyed and the kind is changed to kind::null. The associated memeory resource is kept unchanged.
Linear in the size of *this.
*this
No-throw guarantee.