...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Append params.
iterator append( param_pct_view const& p);
This function appends a param to the view.
The end()
iterator is invalidated.
url u; u.encoded_params().append( { "first" , "John" } );
Linear in this->url().encoded_query().size()
.
Strong guarantee. Calls to allocate may throw. Exceptions thrown on invalid input.
Type |
Thrown On |
---|---|
|
|
An iterator to the new element.
Name |
Description |
---|---|
|
The param to append. |