Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
url::operator= (1 of 3 overloads)

Assignment.

Synopsis
url&
operator=(
    url&& 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.

Postconditions
u.empty() == true
Complexity

Constant.

Exception Safety

Throws nothing.

Parameters

Name

Description

u

The url to assign from.


PrevUpHomeNext