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 2022. The current version is 1.91.0.
Construct from an initializer-list.
value( std::initializer_list< value_ref > init, storage_ptr sp = {});
If the initializer list consists of key/value pairs, an object is created. Otherwise
an array
is created. The contents of the initializer list are copied to the newly
constructed value using the specified memory resource.
Linear in init.size().
Strong guarantee. Calls to memory_resource::allocate
may throw.
|
Name |
Description |
|---|---|
|
|
The initializer list to construct from. |
|
|
A pointer to the |