Boost.URL Logo

PrevUpHomeNext
params::operator= (2 of 2 overloads)

Assignment.

Synopsis
params&
operator=(
    std::initializer_list< query_param_view > init);
Description

The query parameters are replaced by the contents of the initializer list. The key and value strings must not reference the underlying URL buffer, or else the behavior is undefined.

Complexity

Linear in the size of init.

Exception Safety

Strong guarantee. Calls to allocate may throw.

Parameters

Name

Description

init

Initializer list with query parameters


PrevUpHomeNext