...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct from an initializer-list.
value(std::initializer_list
<value_ref
> init,storage_ptr
sp = {});
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 |