Append elements
<include/boost/url/params_ref.hpp>
iterator
append(std::initializer_list<param_view> init);
This function appends the params in an initializer-list to the view.
The `end()` iterator is invalidated.
url u;
u.params().append({ { "first", "John" }, { "last", "Doe" } });
Calls to allocate may throw.
An iterator to the first new element.
Name | Description |
---|---|
init | The list of params to append. |