![]() |
Home | Libraries | People | FAQ | More |
Construct from initializer-list.
object(std::initializer_list
<std::pair
<string_view
,value_ref
> > init,storage_ptr
sp = {});
The object is constructed with a copy of the values in the initializer-list in order, using the specified memory resource. If there are elements with duplicate keys; that is, if multiple elements in the range have keys that compare equal, only the first equivalent element will be inserted.
Linear in init.size()
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The initializer list to insert. |
|
A pointer to the |