boost::urls::segments_encoded_ref::assign

Assign segments

Synopses

Declared in <boost/url/segments_encoded_ref.hpp>

Assign segments

void
assign(std::initializer_list<pct_string_view> init);
» more...

Assign segments

template<class FwdIt>
void
assign(
    FwdIt first,
    FwdIt last);
» more...

Exceptions

NameThrown on
system_errorThe list contains an invalid percent-encoding.

Parameters

NameDescription
initThe list of segments to assign.
firstThe first element in the range.
lastOne past the last element in the range.