boost::urls::url::url :: Boost Libraries Documentation

# boost::urls::url::url

Constructor

## Synopsis

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

    url(url&& u) noexcept;

## Description

The contents of `u` are transferred to the newly constructed object, which includes the underlying character buffer. After construction, the moved‐from object is as if default constructed.

## Postconditions

    u.empty() == true

## Complexity

Constant.

## Exception Safety

Throws nothing.

## Parameters

Name | Description
--- | ---
u | The url to move from.

Created with MrDocs