boost::urls::params_encoded_ref::clear :: Boost Libraries Documentation

# boost::urls::params_encoded_ref::clear

Clear the contents of the container

## Synopsis

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

    void
    clear() noexcept;

## Description

All iterators are invalidated.

## Effects

    this->url().remove_query();

## Postconditions

    this->empty() == true && this->url().has_query() == false

## Complexity

Constant.

## Exception Safety

Throws nothing.

Created with MrDocs