...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
value( string other);
The value is constructed from
using the same memory resource. To transfer ownership, use
string str = "The Boost C++ Library Collection"; // transfer ownership value jv( std::move(str) ); assert( str.empty() ); assert( *str.storage() == *jv.storage() );
The string to construct with.