boost::urls::url::operator=

Assignment

Synopsis

url&
operator=(url&& u) noexcept;
url&
operator=(url const& u);

Description

The contents of u are transferred to this, including the underlying character buffer. The previous contents of this are destroyed. After assignment, the moved-from object is as if default constructed.

u.empty() == true

Constant.

Throws nothing.

Exceptions

Name Thrown on

`u.size()

> max_size()`.

Parameters

Name Description

u

The url to assign from.