boost::urls::params_ref::erase :: Boost Libraries Documentation

# boost::urls::params_ref::erase

Erase elements

## Synopsis

Declared in `<boost/url/params_ref.hpp>`

    iterator
    erase(
        iterator first,
        iterator last) noexcept;

## Description

This function removes a range of elements from the container.

All iterators that are equal to `first` or come after are invalidated.

## Complexity

Linear in `this‐>url().encoded_query().size()`.

## Exception Safety

Throws nothing.

## Return Value

An iterator to one past the removed range.

## Parameters

Name | Description
--- | ---
first | The first element to remove.
last | One past the last element to remove.

Created with MrDocs