...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Default constructor.
value();
» more...
Constructor.
explicit
value(
storage_ptr sp);
» more...
Pilfer constructor.
value(
pilfered< value > other);
» more...
Copy constructor.
value( value const& other); »more...
value( value const& other, storage_ptr sp); »more...
Move constructor.
value( value&& other); »more...
value( value&& other, storage_ptr sp); »more...
Construct a null.
value(
std::nullptr_t,
storage_ptr sp = {});
» more...
Construct a bool.
value(
bool b,
storage_ptr sp = {});
» more...
Construct a std::int64_t
.
value( signed char i, storage_ptr sp = {}); »more...
value( short i, storage_ptr sp = {}); »more...
value( int i, storage_ptr sp = {}); »more...
value( long i, storage_ptr sp = {}); »more...
value( long long i, storage_ptr sp = {}); »more...
Construct a std::uint64_t
.
value( unsigned char u, storage_ptr sp = {}); »more...
value( unsigned short u, storage_ptr sp = {}); »more...
value( unsigned int u, storage_ptr sp = {}); »more...
value( unsigned long u, storage_ptr sp = {}); »more...
value( unsigned long long u, storage_ptr sp = {}); »more...
Construct a double
.
value(
double d,
storage_ptr sp = {});
» more...
Construct a string
.
value( string_view s, storage_ptr sp = {}); »more...
value( char const* s, storage_ptr sp = {}); »more...
value( string other); »more...
value( string const& other, storage_ptr sp); »more...
value( string&& other, storage_ptr sp); »more...
value( string_kind_t, storage_ptr sp = {}); »more...
Construct an array
.
value( array other); »more...
value( array const& other, storage_ptr sp); »more...
value( array&& other, storage_ptr sp); »more...
value( array_kind_t, storage_ptr sp = {}); »more...
Construct an object
.
value( object other); »more...
value( object const& other, storage_ptr sp); »more...
value( object&& other, storage_ptr sp); »more...
value( object_kind_t, storage_ptr sp = {}); »more...
Construct from an initializer-list.
value(
std::initializer_list< value_ref > init,
storage_ptr sp = {});
» more...