boost::urls::params_encoded_ref::set
Set a value
Synopsis
Declared in header <boost/url/params_encoded_ref.hpp>
iterator
set(
iterator pos,
pct_string_view value);
Description
This function replaces the value of an element at the specified position.
All iterators that are equal to
pos
or come after are invalidated.
The string passed in must not come from the element being replaced, or else the behavior is undefined. |
Parameters
Name | Description |
---|---|
pos |
An iterator to the element. |
value |
The value to assign. The
empty string still counts as a value.
That is, |