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

# boost::urls::params_ref::params_ref

Constructor

## Synopsis

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

    constexpr
    params_ref(params_ref const& other) = default;

## Description

After construction, both views reference the same url. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the url extends until it is no longer referenced.

## Postconditions

    &this->url() == &other.url()

## Complexity

Constant.

## Exception Safety

Throws nothing.

## Parameters

Name | Description
other | The other view.

Created with MrDocs